mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
Corrected validation
This commit is contained in:
parent
6f427a56b7
commit
8f07ba0efc
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue