File tree Expand file tree Collapse file tree 5 files changed +18
-18
lines changed
main/java/com/google/firebase/remoteconfig Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ public interface Builder {
2828 ServerTemplate build ();
2929 }
3030 /**
31- * Proccess the template data with a condition evaluator
31+ * Process the template data with a condition evaluator
3232 * based on the provided context.
3333 */
3434 ServerConfig evaluate (KeysAndValues context ) throws FirebaseRemoteConfigException ;
3535 /**
36- * Proccess the template data without context.
36+ * Process the template data without context.
3737 */
3838 ServerConfig evaluate () throws FirebaseRemoteConfigException ;
3939 /**
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public ServerConfig evaluate(@Nullable KeysAndValues context)
8686
8787 Map <String , Value > configValues = new HashMap <>();
8888 ImmutableMap <String , String > defaultConfigValues = defaultConfig .keysAndValues ;
89- // Initializes config Value objects with default values.
89+ // Initializes configValue objects with default values.
9090 for (String configName : defaultConfigValues .keySet ()) {
9191 configValues .put (configName , new Value (ValueSource .DEFAULT ,
9292 defaultConfigValues .get (configName )));
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public final class ServerTemplateResponse {
3333 @ Key ("parameters" )
3434 private Map <String , ParameterResponse > parameters ;
3535
36- @ Key ("serverConditions " )
36+ @ Key ("conditions " )
3737 private List <ServerConditionResponse > serverConditions ;
3838
3939 @ Key ("parameterGroups" )
@@ -104,7 +104,7 @@ public static final class ServerConditionResponse {
104104 @ Key ("name" )
105105 private String name ;
106106
107- @ Key ("serverCondition " )
107+ @ Key ("condition " )
108108 private OneOfConditionResponse condition ;
109109
110110 public String getName () {
@@ -250,7 +250,7 @@ public static final class PercentConditionResponse {
250250 @ Key ("microPercentRange" )
251251 private MicroPercentRangeResponse microPercentRange ;
252252
253- @ Key ("percentConditionOperator " )
253+ @ Key ("percentOperator " )
254254 private String percentOperator ;
255255
256256 @ Key ("seed" )
Original file line number Diff line number Diff line change 11{
2- "serverConditions " : [
2+ "conditions " : [
33 {
44 "name" : " custom_signal" ,
5- "serverCondition " : {
5+ "condition " : {
66 "orCondition" : {
77 "conditions" : [
88 {
2626 },
2727 {
2828 "name" : " percent" ,
29- "serverCondition " : {
29+ "condition " : {
3030 "orCondition" : {
3131 "conditions" : [
3232 {
3333 "andCondition" : {
3434 "conditions" : [
3535 {
3636 "percent" : {
37- "percentConditionOperator " : " BETWEEN" ,
37+ "percentOperator " : " BETWEEN" ,
3838 "seed" : " 3maarirs9xzs" ,
3939 "microPercentRange" : {
4040 "microPercentLowerBound" : 12000000 ,
5151 },
5252 {
5353 "name" : " chained_conditions" ,
54- "serverCondition " : {
54+ "condition " : {
5555 "orCondition" : {
5656 "conditions" : [
5757 {
7777 },
7878 {
7979 "percent" : {
80- "percentConditionOperator " : " BETWEEN" ,
80+ "percentOperator " : " BETWEEN" ,
8181 "seed" : " cla24qoibb61" ,
8282 "microPercentRange" : {
8383 "microPercentLowerBound" : 25000000 ,
Original file line number Diff line number Diff line change 11{
2- "serverConditions " : [
2+ "conditions " : [
33 {
44 "name" : " custom_signal" ,
5- "serverCondition " : {
5+ "condition " : {
66 "orCondition" : {
77 "conditions" : [
88 {
2626 },
2727 {
2828 "name" : " percent" ,
29- "serverCondition " : {
29+ "condition " : {
3030 "orCondition" : {
3131 "conditions" : [
3232 {
3333 "andCondition" : {
3434 "conditions" : [
3535 {
3636 "percent" : {
37- "percentConditionOperator " : " BETWEEN" ,
37+ "percentOperator " : " BETWEEN" ,
3838 "seed" : " 3maarirs9xzs" ,
3939 "microPercentRange" : {
4040 "microPercentLowerBound" : 12000000 ,
5151 },
5252 {
5353 "name" : " chained_conditions" ,
54- "serverCondition " : {
54+ "condition " : {
5555 "orCondition" : {
5656 "conditions" : [
5757 {
7575 ]
7676 },
7777 "percent" : {
78- "percentConditionOperator " : " BETWEEN" ,
78+ "percentOperator " : " BETWEEN" ,
7979 "seed" : " cla24qoibb61" ,
8080 "microPercentRange" : {
8181 "microPercentLowerBound" : 25000000 ,
You can’t perform that action at this time.
0 commit comments