git: cleanup: simplify GitRebaseEntry.setAction: use NotNull annotation instead of explicit assertion

GitOrigin-RevId: 3e54c2b450d3e923525f6932ff7ca37b2761f085
This commit is contained in:
Kirill Likhodedov
2019-07-02 06:52:16 +03:00
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 {