Parcourir la source

trim newlines from mitm control files

tags/v0.4.0
Jonathan Cobb il y a 4 ans
Parent
révision
c4c69c48fd
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 Voir le fichier

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

}

Chargement…
Annuler
Enregistrer