Skip to content

Commit

Permalink
remove code comments, see uber/NullAway#801
Browse files Browse the repository at this point in the history
  • Loading branch information
TheosRee committed Jun 27, 2024
1 parent 528a6ac commit 102ae5c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ public PrimaryServerThreadComposedEvent(final ComposedEvent synced, final Primar
public void execute(@Nullable final Profile profile) throws QuestRuntimeException {
call(() -> {
synced.execute(profile);
return null; // NullAway false positive: Void -> null
return null;
});
}

@SuppressWarnings("NullAway")
@SuppressWarnings("NullAway") // FalsePositive, see https://github.com/uber/NullAway/issues/801
@Override
public void execute() throws QuestRuntimeException {
call(() -> {
synced.execute();
return null; // NullAway false positive: Void -> null
return null;
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ public PrimaryServerThreadEvent(final Event synced, final PrimaryServerThreadDat
super(synced, data);
}

@SuppressWarnings("NullAway")
@SuppressWarnings("NullAway") // FalsePositive, see https://github.com/uber/NullAway/issues/801
@Override
public void execute(final Profile profile) throws QuestRuntimeException {
call(() -> {
synced.execute(profile);
return null; // NullAway false positive: Void -> null
return null;
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ public PrimaryServerThreadStaticEvent(final StaticEvent synced, final PrimarySer
super(synced, data);
}

@SuppressWarnings("NullAway")
@SuppressWarnings("NullAway") // FalsePositive, see https://github.com/uber/NullAway/issues/801
@Override
public void execute() throws QuestRuntimeException {
call(() -> {
synced.execute();
return null; // NullAway false positive: Void -> null
return null;
});
}
}

0 comments on commit 102ae5c

Please sign in to comment.