瀏覽代碼

trim newlines from mitm control files

tags/v0.4.0
Jonathan Cobb 4 年之前
父節點
當前提交
c4c69c48fd
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      bubble-server/src/main/java/bubble/service/account/MitmControlService.java

+ 2
- 2
bubble-server/src/main/java/bubble/service/account/MitmControlService.java 查看文件

@@ -84,7 +84,7 @@ public class MitmControlService {
}
}

public String getCurrentValue() throws IOException { return FileUtil.toString(MITM_CONTROL_FILE); }
public String getRootValue() throws IOException { return FileUtil.toString(MITM_ROOT_CONTROL_FILE); }
public String getCurrentValue() throws IOException { return FileUtil.toString(MITM_CONTROL_FILE).trim(); }
public String getRootValue() throws IOException { return FileUtil.toString(MITM_ROOT_CONTROL_FILE).trim(); }

}

Loading…
取消
儲存