Lines 228-241
Link Here
|
228 |
if (previousStore.isParentOf(currentStore)) { |
228 |
if (previousStore.isParentOf(currentStore)) { |
229 |
//resources will be null if they were in a list, in which case |
229 |
//resources will be null if they were in a list, in which case |
230 |
//they've already been passed to the doit |
230 |
//they've already been passed to the doit |
231 |
if (previousResource != null) |
231 |
if (previousResource != null) { |
232 |
doit.doit(previousResource.getProject()); |
232 |
doit.doit(previousResource.getProject()); |
|
|
233 |
previousResource = null; |
234 |
} |
233 |
if (currentResource != null) |
235 |
if (currentResource != null) |
234 |
doit.doit(currentResource.getProject()); |
236 |
doit.doit(currentResource.getProject()); |
|
|
237 |
} else { |
238 |
previousStore = currentStore; |
239 |
previousResource = currentResource; |
235 |
} |
240 |
} |
|
|
241 |
} else { |
242 |
previousStore = currentStore; |
243 |
previousResource = currentResource; |
236 |
} |
244 |
} |
237 |
previousStore = currentStore; |
|
|
238 |
previousResource = currentResource; |
239 |
} |
245 |
} |
240 |
} |
246 |
} |
241 |
|
247 |
|