private constructor added

This commit is contained in:
Alex Tkachman
2012-09-23 17:35:52 +02:00
parent 852b7e19cc
commit e2c4b39615
@@ -23,6 +23,9 @@ import org.jetbrains.annotations.NotNull;
*/
public class NameUtils {
private NameUtils() {
}
public static boolean isValidIdentified(@NotNull String name) {
return name.length() > 0 && !name.startsWith("<") && !name.contains(".") && !name.contains("/");
}