Skip to content

Commit

Permalink
use .trim instead of .strip. fix error with java1.8 jre
Browse files Browse the repository at this point in the history
  • Loading branch information
pairofdocs committed Jun 17, 2021
1 parent 8ea1553 commit 568daae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gomule/src/randall/flavie/ReportBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ public static String readFile(String filename) {
String line = br.readLine();
while (line != null) {
// skip comment lines that begin with slashes
if (!line.strip().startsWith("//")) {
if (!line.trim().startsWith("//")) {
sb.append(line);
line = br.readLine();
}
Expand Down

0 comments on commit 568daae

Please sign in to comment.