* Simplified addRepository() a bit, no need to track updated resources here.
This commit is contained in:
parent
bfc5b513b6
commit
0470c24db3
1 changed files with 1 additions and 2 deletions
|
@ -123,9 +123,8 @@ public final class Prototype {
|
||||||
if (update) {
|
if (update) {
|
||||||
RequestEvaluator eval = app.getCurrentRequestEvaluator();
|
RequestEvaluator eval = app.getCurrentRequestEvaluator();
|
||||||
Iterator it = repository.getAllResources().iterator();
|
Iterator it = repository.getAllResources().iterator();
|
||||||
boolean updatedResources = false;
|
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
updatedResources |= checkResource((Resource) it.next(), eval.scriptingEngine);
|
checkResource((Resource) it.next(), eval.scriptingEngine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue