Skip to content

Commit 9525f48

Browse files
authored
Fixed some more URLs
I really have to be more careful with find & replace
1 parent 451f8ba commit 9525f48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

balancer/src/main/java/com/jaimemartz/playerbalancer/helper/PasteHelper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public URL paste(PlayerBalancer plugin) throws Exception {
3737
try (FileInputStream stream = new FileInputStream(file)) {
3838
try (InputStreamReader reader = new InputStreamReader(stream, "UTF-8")) {
3939
String content = CharStreams.toString(reader);
40-
HastebinPaste paste = new HastebinPaste("https:// file.properties/paste/", content);
40+
HastebinPaste paste = new HastebinPaste("https://file.properties/paste/", content);
4141
return paste.paste();
4242
}
4343
}
@@ -62,7 +62,7 @@ public URL paste(PlayerBalancer plugin) throws Exception {
6262
try (InputStreamReader reader = new InputStreamReader(stream, StandardCharsets.UTF_8)) {
6363
String content = CharStreams.toString(reader);
6464
content = content.replaceAll("[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}", "?.?.?.?");
65-
HastebinPaste paste = new HastebinPaste("https:// file.properties/paste/", content);
65+
HastebinPaste paste = new HastebinPaste("https://file.properties/paste/", content);
6666
return paste.paste();
6767
}
6868
}
@@ -86,7 +86,7 @@ public URL paste(PlayerBalancer plugin) throws Exception {
8686
try (FileInputStream stream = new FileInputStream(file)) {
8787
try (InputStreamReader reader = new InputStreamReader(stream, StandardCharsets.UTF_8)) {
8888
String content = CharStreams.toString(reader);
89-
HastebinPaste paste = new HastebinPaste("https:// file.properties/paste/", content);
89+
HastebinPaste paste = new HastebinPaste("https://file.properties/paste/", content);
9090
return paste.paste();
9191
}
9292
}

0 commit comments

Comments
 (0)