Format Java files with google-java-format
Change-Id: I0a97b23a9c30209e764f9f8a841cc61a167aa140
diff --git a/java/com/google/gitiles/GitilesFilter.java b/java/com/google/gitiles/GitilesFilter.java
index 79dcc4c..3013096 100644
--- a/java/com/google/gitiles/GitilesFilter.java
+++ b/java/com/google/gitiles/GitilesFilter.java
@@ -382,8 +382,7 @@
private void setDefaultVisibilityCache() {
if (visibilityCache == null) {
if (config.getSubsections("cache").contains("visibility")) {
- visibilityCache =
- new VisibilityCache(ConfigUtil.getCacheBuilder(config, "visibility"));
+ visibilityCache = new VisibilityCache(ConfigUtil.getCacheBuilder(config, "visibility"));
} else {
visibilityCache = new VisibilityCache();
}
diff --git a/java/com/google/gitiles/VisibilityCache.java b/java/com/google/gitiles/VisibilityCache.java
index 1c6b785..4305d1d 100644
--- a/java/com/google/gitiles/VisibilityCache.java
+++ b/java/com/google/gitiles/VisibilityCache.java
@@ -98,8 +98,8 @@
}
/**
- * Use the constructors with a boolean parameter (e.g. {@link #VisibilityCache()}). The
- * default visibility checker should cover all common use cases.
+ * Use the constructors with a boolean parameter (e.g. {@link #VisibilityCache()}). The default
+ * visibility checker should cover all common use cases.
*
* <p>This constructor is useful to use a checker with additional logging or metrics collection,
* for example.
@@ -109,8 +109,8 @@
}
/**
- * Use the constructors with a boolean parameter (e.g. {@link #VisibilityCache()}). The
- * default visibility checker should cover all common use cases.
+ * Use the constructors with a boolean parameter (e.g. {@link #VisibilityCache()}). The default
+ * visibility checker should cover all common use cases.
*
* <p>This constructor is useful to use a checker with additional logging or metrics collection,
* for example.