mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[file-history] add @NotNull annotation to getComparator methods
This commit is contained in:
@@ -725,7 +725,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
|
||||
};
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@NotNull
|
||||
@Override
|
||||
public Comparator<VcsFileRevision> getComparator() {
|
||||
return comparing(revision -> valueOf(revision));
|
||||
@@ -823,7 +823,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
|
||||
return StringUtil.repeatSymbol('m', 14);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@NotNull
|
||||
@Override
|
||||
public Comparator<VcsFileRevision> getComparator() {
|
||||
return comparing(revision -> valueOf(revision));
|
||||
@@ -875,7 +875,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
|
||||
return myRenderer;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@NotNull
|
||||
@Override
|
||||
public Comparator<VcsFileRevision> getComparator() {
|
||||
return comparing(revision -> valueOf(revision));
|
||||
|
||||
Reference in New Issue
Block a user