mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: cleanup: simplify GitRebaseEntry.setAction: use NotNull annotation instead of explicit assertion
GitOrigin-RevId: 3e54c2b450d3e923525f6932ff7ca37b2761f085
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6b6a3ebb99
commit
6ac5d0285b
@@ -48,13 +48,8 @@ class GitRebaseEntry {
|
||||
return myAction;
|
||||
}
|
||||
|
||||
public void setAction(final Action action) {
|
||||
if (action == null) {
|
||||
LOG.error("The action must not be null");
|
||||
}
|
||||
else {
|
||||
myAction = action;
|
||||
}
|
||||
public void setAction(@NotNull Action action) {
|
||||
myAction = action;
|
||||
}
|
||||
|
||||
public enum Action {
|
||||
|
||||
Reference in New Issue
Block a user