mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed notnull
This commit is contained in:
@@ -88,7 +88,8 @@ public class StringUtil extends StringUtilRt {
|
||||
};
|
||||
}
|
||||
|
||||
@NotNull public static Function<String, String> TRIMMER = new Function<String, String>() {
|
||||
@NotNull
|
||||
public static Function<String, String> TRIMMER = new Function<String, String>() {
|
||||
@Nullable
|
||||
@Override
|
||||
public String fun(@Nullable String s) {
|
||||
@@ -96,7 +97,8 @@ public class StringUtil extends StringUtilRt {
|
||||
}
|
||||
};
|
||||
|
||||
@NotNull public static String replace(@NonNls @NotNull String text, @NonNls @NotNull String oldS, @NonNls @Nullable String newS) {
|
||||
@NotNull
|
||||
public static String replace(@NonNls @NotNull String text, @NonNls @NotNull String oldS, @NonNls @Nullable String newS) {
|
||||
return replace(text, oldS, newS, false);
|
||||
}
|
||||
|
||||
@@ -134,7 +136,6 @@ public class StringUtil extends StringUtilRt {
|
||||
return newBuffer == null ? buffer : newBuffer.toString();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static String replace(@NotNull final String text, @NotNull final String oldS, @Nullable final String newS, boolean ignoreCase) {
|
||||
if (text.length() < oldS.length()) return text;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user