Skip to content

Commit

Permalink
Update google-java-format to 1.23.0
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/react-native#46860

Pulling library into our repository

Result of:
  arc artificer download com.google.googlejavaformat:google-java-format:1.23.0 --interactive

Deps
```
➜  arc artificer rquery dependencies --cross-reference com.google.googlejavaformat:google-java-format:1.23.0
com.google.googlejavaformat:google-java-format:1.23.0 ✅
└╼ com.google.guava:guava:32.1.3-jre:compile ✅

```

Formatted with

```
tools/arcanist/lint/codemods/googlejavaformat_fbsource
```

Reviewed By: hick209

Differential Revision: D60787993

fbshipit-source-id: dbadc5184c0a7cccd967173e21602657013ddac7
  • Loading branch information
j-bahr authored and facebook-github-bot committed Oct 12, 2024
1 parent 66cda65 commit 28a6771
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions litho-it/src/test/resources/processor/TestLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public static EventHandler<ErrorEvent> __internalOnErrorHandler(ComponentContext
protected Object dispatchOnEventImpl(final EventHandler eventHandler, final Object eventState) {
int id = eventHandler.id;
switch (id) {
// testLayoutEvent
// testLayoutEvent
case 1328162206:
{
ClickEvent _event = (ClickEvent) eventState;
Expand All @@ -313,7 +313,7 @@ protected Object dispatchOnEventImpl(final EventHandler eventHandler, final Obje
(int) eventHandler.params[0]);
return null;
}
// __internalOnErrorHandler
// __internalOnErrorHandler
case -1048037474:
{
ErrorEvent _event = (ErrorEvent) eventState;
Expand Down
4 changes: 2 additions & 2 deletions litho-it/src/test/resources/processor/TestMount.java
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ public static EventHandler<ClickEvent> testLayoutEvent(ComponentContext c, int p
protected Object dispatchOnEventImpl(final EventHandler eventHandler, final Object eventState) {
int id = eventHandler.id;
switch (id) {
// testLayoutEvent
// testLayoutEvent
case 1328162206:
{
ClickEvent _event = (ClickEvent) eventState;
Expand All @@ -574,7 +574,7 @@ protected Object dispatchOnEventImpl(final EventHandler eventHandler, final Obje
(int) eventHandler.params[0]);
return null;
}
// __internalOnErrorHandler
// __internalOnErrorHandler
case -1048037474:
{
dispatchErrorEvent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected void onDestroy() {
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
// Respond to the action bar's Up/Home button
// Respond to the action bar's Up/Home button
case android.R.id.home:
NavUtils.navigateUpFromSameTask(this);
return true;
Expand Down

0 comments on commit 28a6771

Please sign in to comment.