/wro4j-core/src/main/java/ro/isdc/wro/model/resource/support/change/ResourceWatcher.java
futures.add( executorServiceRef.get( ).submit( ContextPropagatingCallable.decorate( new Callable<Void>( ) { if ( isAsync) {for ( final Resource resource : resources) {
for ( final Resource resource : resources ) { if ( isAsync ) { futures.add ( executorServiceRef.get ( ) .submit ( ContextPropagatingCallable.decorate ( new Callable<Void> ( ) {
private boolean isGroupChanged(final Group group, final Callback callback) { final List<Resource> resources = group.getResources(); final AtomicBoolean isChanged = new AtomicBoolean(false); final List<Future<?>> futures = new ArrayList<Future<?>>(); final boolean isAsync = context.getConfig().isResourceWatcherAsync(); try { <extra_id_0> @Override public Void call() throws Exception { checkResourceChange(resource, group, callback, isChanged); return null; }