mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 09:09:26 +01:00
Merge pull request #3132 from joelmoniz/bugfix-brokenContribHampersManager
Contrib Manager does not stop parsing contribs.txt if an error exists
This commit is contained in:
@@ -515,7 +515,13 @@ public class ContributionListing {
|
||||
ContributionType contribType = ContributionType.fromName(type);
|
||||
if (contribType == null) {
|
||||
System.err.println("Error in contribution listing file on line " + (start+1));
|
||||
return outgoing;
|
||||
// Scan forward for the next blank line
|
||||
int end = ++start;
|
||||
while (end < lines.length && !lines[end].equals("")) {
|
||||
end++;
|
||||
}
|
||||
start = end + 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Scan forward for the next blank line
|
||||
|
||||
Reference in New Issue
Block a user