File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
core/src/main/java/com/google/googlejavaformat/java Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 2424import com .google .googlejavaformat .java .JavaInput .Tok ;
2525import org .eclipse .jdt .core .compiler .InvalidInputException ;
2626
27- /**
28- * Orders imports in Java source code.
29- */
30- class ImportOrderer {
27+ /** Orders imports in Java source code. */
28+ public class ImportOrderer {
3129 /**
32- * Reorder the inputs in {@code input}, a complete Java program. On success, another complete
33- * Java program is returned, which is the same as the original except the imports are in order.
30+ * Reorder the inputs in {@code input}, a complete Java program. On success, another complete Java
31+ * program is returned, which is the same as the original except the imports are in order.
3432 *
3533 * @throws FormatterException if the input could not be parsed.
3634 */
37- static String reorderImports (String text ) throws FormatterException {
35+ public static String reorderImports (String text ) throws FormatterException {
3836 ImmutableList <Tok > toks ;
3937 try {
4038 toks = JavaInput .buildToks (text , CLASS_START );
You can’t perform that action at this time.
0 commit comments