Skip to content

Commit c396bea

Browse files
+Little alteration on pastebin file
1 parent 78d9a80 commit c396bea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/jpaste/pastebin/Pastebin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ public static PastebinLink[] getMostRecent(Post post) throws ParseException {
216216
String url = API_SCRAPING_LINK;
217217
if (post != null && !post.getPost().isEmpty()) {
218218
url += "?" + post.getPost();
219-
220219
}
220+
221221
String response = Web.getContents(url);
222222

223223
if (response == null || response.isEmpty()
@@ -269,4 +269,4 @@ private static ArrayList<Object> getJSonData(String response) {
269269
return null;
270270
}
271271

272-
}
272+
}

0 commit comments

Comments
 (0)