Issue #4030 - Added check for blank lines
Former-commit-id:b9557d58b8
[formerlybd16f5b1d1
[formerly 7252df4112903132ae0c1bbe36bdc66add219ae5]] Former-commit-id:bd16f5b1d1
Former-commit-id:9e6dbcb03d
This commit is contained in:
parent
c693e7c283
commit
733fd3d2b7
1 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ public class NdmMenuConverter {
|
|||
for (String line : productButtonKeys) {
|
||||
line = line.trim();
|
||||
// Skip comment lines
|
||||
if (line.startsWith("#")) {
|
||||
if (line.startsWith("#") || line.trim().length() == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -276,7 +276,7 @@ public class NdmMenuConverter {
|
|||
for (String line : dataKeys) {
|
||||
line = line.trim();
|
||||
// Skip comment lines
|
||||
if (line.startsWith("#")) {
|
||||
if (line.startsWith("#") || line.trim().length() == 0) {
|
||||
continue;
|
||||
}
|
||||
String[] parts = line.split("\\|");
|
||||
|
|
Loading…
Add table
Reference in a new issue