forked from jasder/antlr
consistent return of null for empty DFA (Coverity)
This commit is contained in:
parent
a7a2050fd2
commit
d22290d44f
|
@ -67,6 +67,7 @@ public class DFASerializer {
|
|||
}
|
||||
|
||||
String output = buf.toString();
|
||||
if ( output.length()==0 ) return null;
|
||||
//return Utils.sortLinesInString(output);
|
||||
return output;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue