mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Contract fixed
GitOrigin-RevId: 03719ad71c4c02ad98fb9f61e72e7857d4cfb8c5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2c7a579535
commit
fcf1ee68b5
@@ -140,7 +140,7 @@ public class VcsLogPathsIndex extends VcsLogFullDetailsIndex<List<VcsLogPathsInd
|
||||
}
|
||||
}
|
||||
|
||||
@Contract("null -> null; !null -> !null")
|
||||
@Contract("null,_ -> null; !null,_ -> !null")
|
||||
@Nullable
|
||||
private static FilePath toFilePath(@Nullable LightFilePath lightFilePath, boolean isDirectory) {
|
||||
if (lightFilePath == null) return null;
|
||||
@@ -270,7 +270,7 @@ public class VcsLogPathsIndex extends VcsLogFullDetailsIndex<List<VcsLogPathsInd
|
||||
private static final TByteObjectHashMap<ChangeKind> KINDS = new TByteObjectHashMap<>();
|
||||
|
||||
static {
|
||||
for (ChangeKind kind : ChangeKind.values()) {
|
||||
for (ChangeKind kind : values()) {
|
||||
KINDS.put(kind.id, kind);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user