Skip to content

Commit 44af9da

Browse files
fix checkstyle errors
1 parent 7915c15 commit 44af9da

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/io/appium/java_client/AppiumBy.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package io.appium.java_client;
1818

1919
import com.google.common.base.Preconditions;
20-
import com.google.gson.Gson;
2120
import lombok.EqualsAndHashCode;
2221
import lombok.Getter;
2322
import org.openqa.selenium.By;
@@ -384,7 +383,7 @@ protected FlutterBy(String selector, String locatorString, String locatorName) {
384383
}
385384

386385
public abstract static class FlutterByHierarchy extends FlutterBy {
387-
private static final Json json = new Json();
386+
private static final Json JSON = new Json();
388387

389388
protected FlutterByHierarchy(
390389
String selector,
@@ -405,7 +404,7 @@ static String formatLocator(FlutterBy of, FlutterBy matching, Map<String, Object
405404
locator.put("of", parseFlutterLocator(of));
406405
locator.put("matching", parseFlutterLocator(matching));
407406
locator.put("parameters", properties);
408-
return json.toJson(locator);
407+
return JSON.toJson(locator);
409408
}
410409
}
411410

0 commit comments

Comments
 (0)