-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: google-java-format Java files (#5892)
- Loading branch information
1 parent
bca72ab
commit 9953914
Showing
64 changed files
with
1,537 additions
and
1,556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
kythe/javatests/com/google/devtools/kythe/analyzers/java/testdata/DefaultPackage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
// Tests for a class in the default package. All name nodes should be prefixed with a ".", denoting | ||
// the default package. | ||
|
||
//- @DefaultPackage defines/binding Class | ||
//- !{ Class childof AnyPackage | ||
//- AnyPackage.node/kind package } | ||
// - @DefaultPackage defines/binding Class | ||
// - !{ Class childof AnyPackage | ||
// - AnyPackage.node/kind package } | ||
public class DefaultPackage { | ||
|
||
//- @CONSTANT defines/binding _ConstantField | ||
// - @CONSTANT defines/binding _ConstantField | ||
public static final String CONSTANT = "constantly unused... :-("; | ||
|
||
//- @main defines/binding _MainMethod | ||
// - @main defines/binding _MainMethod | ||
public static void main(String[] args) {} | ||
} |
8 changes: 4 additions & 4 deletions
8
kythe/javatests/com/google/devtools/kythe/analyzers/java/testdata/pkg/AbstractClass.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package pkg; | ||
|
||
//- @AbstractClass defines/binding ClassDef | ||
//- ClassDef.tag/abstract _ | ||
// - @AbstractClass defines/binding ClassDef | ||
// - ClassDef.tag/abstract _ | ||
abstract class AbstractClass { | ||
//- @method defines/binding MethodDef | ||
//- MethodDef.tag/abstract _ | ||
// - @method defines/binding MethodDef | ||
// - MethodDef.tag/abstract _ | ||
public abstract void method(); | ||
} |
12 changes: 7 additions & 5 deletions
12
...e/javatests/com/google/devtools/kythe/analyzers/java/testdata/pkg/AnnotationComments.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
package pkg; | ||
|
||
//- @+4AnnotationComments defines/binding AnnotationComments | ||
// - @+4AnnotationComments defines/binding AnnotationComments | ||
|
||
// This isn't documentation. | ||
@Deprecated // This does not document AnnotationComments | ||
public class AnnotationComments { | ||
//- !{ _ documents AnnotationComments } | ||
// - !{ _ documents AnnotationComments } | ||
|
||
//- @+3fooString defines/binding FooString | ||
// - @+3fooString defines/binding FooString | ||
|
||
@SuppressWarnings("unchecked") // This should not documents fooString. | ||
public String fooString() { return ""; } | ||
//- !{ _ documents FooString } | ||
public String fooString() { | ||
return ""; | ||
} | ||
// - !{ _ documents FooString } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.