Skip to content

Commit

Permalink
Add google-java-format unit tests for existing @Annotation() behavior.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 700713243
  • Loading branch information
kluever authored and google-java-format Team committed Nov 27, 2024
1 parent 07e6d60 commit 9f5e838
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class B381242320 {
@Deprecated()
public int deprecatedMethod() {
return 42;
}

@Override()
public int hashCode() {
return 42;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class B381242320 {
@Deprecated()
public int deprecatedMethod() {
return 42;
}

@Override()
public int hashCode() {
return 42;
}
}

0 comments on commit 9f5e838

Please sign in to comment.