ソースを参照

trim newlines from mitm control files

tags/v0.4.0
Jonathan Cobb 5年前
コミット
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(); }

}

読み込み中…
キャンセル
保存