Group overloads together
This came from a style warning.
@@ -119,6 +119,11 @@ class UsageAsInputReportingFileManager extends ForwardingJavaFileManager<Standar
return getJavaFileForSources(ImmutableList.copyOf(names));
}
+ @Override
+ public Iterable<? extends JavaFileObject> getJavaFileObjects(File... files) {
+ return getJavaFileObjectsFromFiles(ImmutableList.copyOf(files));
+ }
+
@Override
public Iterable<? extends JavaFileObject> getJavaFileObjectsFromStrings(Iterable<String> names) {
return getJavaFileForSources(names);
@@ -131,11 +136,6 @@ class UsageAsInputReportingFileManager extends ForwardingJavaFileManager<Standar
fileManager.getJavaFileObjectsFromFiles(files), input -> map(input, null));
}
- @Override
- public Iterable<? extends JavaFileObject> getJavaFileObjects(File... files) {
- return getJavaFileObjectsFromFiles(ImmutableList.copyOf(files));
- }
-
@Override
public void setLocation(Location location, Iterable<? extends File> path) throws IOException {
fileManager.setLocation(location, path);
