Browse Source

Delete useless variables (#922)

pull/2/head
zhangwei 5 years ago committed by qiaozhanwei
parent
commit
487168c049
  1. 2
      escheduler-server/src/main/java/cn/escheduler/server/rpc/LoggerServer.java

2
escheduler-server/src/main/java/cn/escheduler/server/rpc/LoggerServer.java

@ -98,7 +98,6 @@ public class LoggerServer {
request.getLimit());
List<String> list = readFile(request.getPath(), request.getSkipLineNum(), request.getLimit());
StringBuilder sb = new StringBuilder();
boolean errorLineFlag = false;
for (String line : list){
sb.append(line + "\r\n");
}
@ -196,7 +195,6 @@ public class LoggerServer {
StringBuilder sb = new StringBuilder();
try {
br = new BufferedReader(new InputStreamReader(new FileInputStream(path)));
boolean errorLineFlag = false;
while ((line = br.readLine()) != null){
sb.append(line + "\r\n");
}

Loading…
Cancel
Save