private constructor added
This commit is contained in:
@@ -23,6 +23,9 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
*/
|
*/
|
||||||
public class NameUtils {
|
public class NameUtils {
|
||||||
|
|
||||||
|
private NameUtils() {
|
||||||
|
}
|
||||||
|
|
||||||
public static boolean isValidIdentified(@NotNull String name) {
|
public static boolean isValidIdentified(@NotNull String name) {
|
||||||
return name.length() > 0 && !name.startsWith("<") && !name.contains(".") && !name.contains("/");
|
return name.length() > 0 && !name.startsWith("<") && !name.contains(".") && !name.contains("/");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user