Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit 9de32f4

Browse files
committed
Removing commented-out code
1 parent dbb17c3 commit 9de32f4

File tree

1 file changed

+1
-5
lines changed
  • src/main/java/org/fife/ui/rsyntaxtextarea

1 file changed

+1
-5
lines changed

src/main/java/org/fife/ui/rsyntaxtextarea/Theme.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -533,10 +533,7 @@ public void save(OutputStream out) throws IOException {
533533
} catch (RuntimeException re) {
534534
throw re; // FindBugs
535535
} catch (Exception e) {
536-
e.printStackTrace();
537-
throw new IOException("Error generating XML: " + e.getMessage());
538-
// When Java 6 is minimum required version
539-
//throw new IOException("Error generating XML: " + e.getMessage(), e);
536+
throw new IOException("Error generating XML: " + e.getMessage(), e);
540537
} finally {
541538
bout.close();
542539
}
@@ -624,7 +621,6 @@ public static void load(Theme theme, InputStream in) throws IOException {
624621
is.setEncoding("UTF-8");
625622
reader.parse(is);
626623
} catch (/*SAX|ParserConfiguration*/Exception se) {
627-
// se.printStackTrace();
628624
throw new IOException(se.toString());
629625
}
630626
}

0 commit comments

Comments
 (0)