Revert style change which hurt readability.
This commit is contained in:
parent
8bbc33faf3
commit
9410ea806c
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user