Revert style change which hurt readability.

This commit is contained in:
MetaPrime 2017-05-09 14:57:39 -07:00
parent 8bbc33faf3
commit 9410ea806c

View File

@ -171,12 +171,11 @@ public class RedditRipper extends AlbumRipper {
Pattern p = RipUtils.getURLRegex(); Pattern p = RipUtils.getURLRegex();
Matcher m = p.matcher(body); Matcher m = p.matcher(body);
while (m.find()) { while (m.find()) {
String foundurl; String url = m.group(1);
foundurl = m.group(1); while (url.endsWith(")")) {
while (foundurl.endsWith(")")) { url = url.substring(0, url.length() - 1);
foundurl = foundurl.substring(0, foundurl.length() - 1);
} }
handleURL(foundurl, id); handleURL(url, id);
} }
} }