1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

Corrected validation

This commit is contained in:
Alena Laskavaia 2010-05-19 02:52:53 +00:00
parent 6f427a56b7
commit 8f07ba0efc

View file

@ -57,6 +57,8 @@ public abstract class AbstractProblemPreference implements IProblemPreference {
}
protected boolean isValidIdentifier(String id) {
if (id == null)
return false;
int n = id.length();
if (n == 0)
return false;