File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
sources/net.sf.j2s.java.core/src Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -339,10 +339,11 @@ public String readLine() {
339
339
if (line == null )
340
340
return null ;
341
341
if (isHeader ) {
342
- if (line .startsWith ("#" ))
342
+ if (line .startsWith ("#" )) {
343
343
fileHeader .append (line ).appendC ('\n' );
344
- else
344
+ } else if ( line . length () > 0 ) {
345
345
isHeader = false ;
346
+ }
346
347
}
347
348
return line ;
348
349
} catch (Exception e ) {
Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ private static void _test1(String[] args) {
95
95
96
96
static boolean isBatch = false ;
97
97
98
+ /**
99
+ * static public j2sHeadless TRUE
100
+ * triggers headless operation in swingjs2.js
101
+ */
98
102
static public boolean j2sHeadless = true ;
99
103
100
104
static public int bhtest = 100 ;
You can’t perform that action at this time.
0 commit comments