Skip to content

Commit

Permalink
修复 Jre7 无法启动的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat7373 committed Jul 31, 2016
1 parent 04ff4a7 commit 7085d3d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ public class LogWindowOutputStream extends OutputStream {
private final Level sas;

public LogWindowOutputStream(LogWindow logWindow, Level l) {
Objects.nonNull(logWindow);
Objects.nonNull(l);
if(logWindow == null || l == null) {
throw new NullPointerException();
}

txt = logWindow;
sas = l;
}
Expand Down

0 comments on commit 7085d3d

Please sign in to comment.