Skip to content

Commit 9d9cf0d

Browse files
author
Varun Rathore
committed
fix lint error
1 parent 203013d commit 9d9cf0d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/test/java/com/google/firebase/remoteconfig/MockRemoteConfigClient.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,35 @@
2121
public class MockRemoteConfigClient implements FirebaseRemoteConfigClient{
2222

2323
private final Template resultTemplate;
24-
private final String resultServerTemplate;
2524
private final FirebaseRemoteConfigException exception;
2625
private final ListVersionsResponse listVersionsResponse;
26+
private final String resultServerTemplate;
2727

2828
private MockRemoteConfigClient(Template resultTemplate,
29-
String resultServerTemplate,
3029
ListVersionsResponse listVersionsResponse,
31-
FirebaseRemoteConfigException exception) {
30+
FirebaseRemoteConfigException exception,
31+
String resultServerTemplate) {
3232
this.resultTemplate = resultTemplate;
33-
this.resultServerTemplate = resultServerTemplate;
3433
this.listVersionsResponse = listVersionsResponse;
3534
this.exception = exception;
35+
this.resultServerTemplate = resultServerTemplate;
3636
}
3737

3838
static MockRemoteConfigClient fromTemplate(Template resultTemplate) {
3939
return new MockRemoteConfigClient(resultTemplate, null, null, null);
4040
}
4141

4242
static MockRemoteConfigClient fromServerTemplate(String resultServerTemplate) {
43-
return new MockRemoteConfigClient(null, resultServerTemplate,null, null);
43+
return new MockRemoteConfigClient(null, null, null, resultServerTemplate);
4444
}
4545

4646
static MockRemoteConfigClient fromListVersionsResponse(
4747
ListVersionsResponse listVersionsResponse) {
48-
return new MockRemoteConfigClient(null, null, listVersionsResponse, null);
48+
return new MockRemoteConfigClient(null, listVersionsResponse, null, null);
4949
}
5050

5151
static MockRemoteConfigClient fromException(FirebaseRemoteConfigException exception) {
52-
return new MockRemoteConfigClient(null, null, null, exception);
52+
return new MockRemoteConfigClient(null, null, exception, null);
5353
}
5454

5555
@Override

0 commit comments

Comments
 (0)