Selaa lähdekoodia

trim newlines from mitm control files

tags/v0.4.0
Jonathan Cobb 5 vuotta sitten
vanhempi
commit
c4c69c48fd
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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 Näytä tiedosto

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

}

Ladataan…
Peruuta
Tallenna