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() {
339339 if (line == null )
340340 return null ;
341341 if (isHeader ) {
342- if (line .startsWith ("#" ))
342+ if (line .startsWith ("#" )) {
343343 fileHeader .append (line ).appendC ('\n' );
344- else
344+ } else if ( line . length () > 0 ) {
345345 isHeader = false ;
346+ }
346347 }
347348 return line ;
348349 } catch (Exception e ) {
Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ private static void _test1(String[] args) {
9595
9696 static boolean isBatch = false ;
9797
98+ /**
99+ * static public j2sHeadless TRUE
100+ * triggers headless operation in swingjs2.js
101+ */
98102 static public boolean j2sHeadless = true ;
99103
100104 static public int bhtest = 100 ;
You can’t perform that action at this time.
0 commit comments