Explorar el Código

trim newlines from mitm control files

tags/v0.4.0
Jonathan Cobb hace 5 años
padre
commit
c4c69c48fd
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

@@ -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(); }


} }

Cargando…
Cancelar
Guardar