Author: bdelacretaz
Date: Fri Sep 11 14:04:09 2009
New Revision: 813836
URL: http://svn.apache.org/viewvc?rev=813836&view=rev
Log:
SLING-1078 - sync urlsToRemove call
Modified:
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java
Modified:
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java
URL:
http://svn.apache.org/viewvc/sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java?rev=813836&r1=813835&r2=813836&view=diff
==============================================================================
---
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java
(original)
+++
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java
Fri Sep 11 14:04:09 2009
@@ -146,9 +146,9 @@
if(ctx.getLogService() != null) {
ctx.getLogService().log(LogService.LOG_DEBUG, "Adding URL " +
r.getUrl() + " to urlsToRemove");
}
- urlsToRemove.add(r.getUrl());
synchronized (newResources) {
+ urlsToRemove.add(r.getUrl());
newResources.notify();
}
}