mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[merge] Fix LineBlocksTest: TextDiffTypeEnum can be null.
This commit is contained in:
@@ -52,7 +52,7 @@ public class TextDiffType implements DiffStatusBar.LegendTypeDescriptor {
|
||||
private final String myDisplayName;
|
||||
private final boolean myApplied;
|
||||
|
||||
public static TextDiffType create(@NotNull final TextDiffTypeEnum type) {
|
||||
public static TextDiffType create(@Nullable final TextDiffTypeEnum type) {
|
||||
if (TextDiffTypeEnum.INSERT.equals(type)) {
|
||||
return INSERT;
|
||||
} else if (TextDiffTypeEnum.CHANGED.equals(type)) {
|
||||
|
||||
Reference in New Issue
Block a user