We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c502d commit a37d3d6Copy full SHA for a37d3d6
gcloud-java-core/src/main/java/com/google/gcloud/BaseService.java
@@ -16,16 +16,17 @@
16
17
package com.google.gcloud;
18
19
-public abstract class BaseService<O extends ServiceOptions> implements Service<O> {
+public abstract class BaseService<OptionsT extends ServiceOptions<?, OptionsT>>
20
+ implements Service<OptionsT> {
21
- private final O options;
22
+ private final OptionsT options;
23
- protected BaseService(O options) {
24
+ protected BaseService(OptionsT options) {
25
this.options = options;
26
}
27
28
@Override
- public O options() {
29
+ public OptionsT options() {
30
return options;
31
32
0 commit comments