Procházet zdrojové kódy

trim newlines from mitm control files

tags/v0.4.0
Jonathan Cobb před 4 roky
rodič
revize
c4c69c48fd
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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 Zobrazit soubor

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

}

Načítá se…
Zrušit
Uložit