@@ -138,7 +138,7 @@ public FlagEvaluationDetails<Boolean> getBooleanDetails(String key, Boolean defa
138
138
139
139
@ Override
140
140
public FlagEvaluationDetails <Boolean > getBooleanDetails (String key , Boolean defaultValue , EvaluationContext ctx ) {
141
- return getBooleanDetails (key , defaultValue , ctx , null );
141
+ return getBooleanDetails (key , defaultValue , ctx , FlagEvaluationOptions . builder (). build () );
142
142
}
143
143
144
144
@ Override
@@ -148,17 +148,17 @@ public FlagEvaluationDetails<Boolean> getBooleanDetails(String key, Boolean defa
148
148
149
149
@ Override
150
150
public String getStringValue (String key , String defaultValue ) {
151
- return this . getStringDetails (key , defaultValue ).getValue ();
151
+ return getStringDetails (key , defaultValue ).getValue ();
152
152
}
153
153
154
154
@ Override
155
155
public String getStringValue (String key , String defaultValue , EvaluationContext ctx ) {
156
- return this . getStringDetails (key , defaultValue , ctx ).getValue ();
156
+ return getStringDetails (key , defaultValue , ctx ).getValue ();
157
157
}
158
158
159
159
@ Override
160
160
public String getStringValue (String key , String defaultValue , EvaluationContext ctx , FlagEvaluationOptions options ) {
161
- return this . getStringDetails (key , defaultValue , ctx , options ).getValue ();
161
+ return getStringDetails (key , defaultValue , ctx , options ).getValue ();
162
162
}
163
163
164
164
@ Override
@@ -168,7 +168,7 @@ public FlagEvaluationDetails<String> getStringDetails(String key, String default
168
168
169
169
@ Override
170
170
public FlagEvaluationDetails <String > getStringDetails (String key , String defaultValue , EvaluationContext ctx ) {
171
- return getStringDetails (key , defaultValue , new EvaluationContext (), null );
171
+ return getStringDetails (key , defaultValue , new EvaluationContext (), FlagEvaluationOptions . builder (). build () );
172
172
}
173
173
174
174
@ Override
@@ -178,17 +178,17 @@ public FlagEvaluationDetails<String> getStringDetails(String key, String default
178
178
179
179
@ Override
180
180
public Integer getIntegerValue (String key , Integer defaultValue ) {
181
- return this . evaluateFlag ( FlagValueType . INTEGER , key , defaultValue , null , null ).getValue ();
181
+ return getIntegerDetails ( key , defaultValue ).getValue ();
182
182
}
183
183
184
184
@ Override
185
185
public Integer getIntegerValue (String key , Integer defaultValue , EvaluationContext ctx ) {
186
- return this . evaluateFlag ( FlagValueType . INTEGER , key , defaultValue , ctx , null ).getValue ();
186
+ return getIntegerDetails ( key , defaultValue , ctx ).getValue ();
187
187
}
188
188
189
189
@ Override
190
190
public Integer getIntegerValue (String key , Integer defaultValue , EvaluationContext ctx , FlagEvaluationOptions options ) {
191
- return this . evaluateFlag ( FlagValueType . INTEGER , key , defaultValue , ctx , options ).getValue ();
191
+ return getIntegerDetails ( key , defaultValue , ctx , options ).getValue ();
192
192
}
193
193
194
194
@ Override
@@ -198,7 +198,7 @@ public FlagEvaluationDetails<Integer> getIntegerDetails(String key, Integer defa
198
198
199
199
@ Override
200
200
public FlagEvaluationDetails <Integer > getIntegerDetails (String key , Integer defaultValue , EvaluationContext ctx ) {
201
- return getIntegerDetails (key , defaultValue , new EvaluationContext (), null );
201
+ return getIntegerDetails (key , defaultValue , ctx , FlagEvaluationOptions . builder (). build () );
202
202
}
203
203
204
204
@ Override
0 commit comments