diff options
author | Thomas Watson | 2012-12-13 16:38:43 +0000 |
---|---|---|
committer | Thomas Watson | 2012-12-13 16:38:43 +0000 |
commit | 77e7168bc1fbfb35d7f7b150bbdce33bd9df850c (patch) | |
tree | c363ea70125ddb6f2b63978179db0c2570960bdb /bundles/org.eclipse.osgi.compatibility.state | |
parent | 7e583b483a3e97bb6364c2e505d0a447c8d71e77 (diff) | |
download | rt.equinox.framework-77e7168bc1fbfb35d7f7b150bbdce33bd9df850c.tar.gz rt.equinox.framework-77e7168bc1fbfb35d7f7b150bbdce33bd9df850c.tar.xz rt.equinox.framework-77e7168bc1fbfb35d7f7b150bbdce33bd9df850c.zip |
Fix compile error for renamed locking methods.
Diffstat (limited to 'bundles/org.eclipse.osgi.compatibility.state')
-rw-r--r-- | bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/compatibility/state/PlatformAdminImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/compatibility/state/PlatformAdminImpl.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/compatibility/state/PlatformAdminImpl.java index cb3b5fb94..71f035ffa 100644 --- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/compatibility/state/PlatformAdminImpl.java +++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/compatibility/state/PlatformAdminImpl.java @@ -68,7 +68,7 @@ public class PlatformAdminImpl implements PlatformAdmin { State state = factory.createState(true); StateConverter converter = new StateConverter(state); ModuleDatabase database = equinoxContainer.getStorage().getModuleDatabase(); - database.lockRead(); + database.readLock(); try { List<Module> modules = equinoxContainer.getStorage().getModuleContainer().getModules(); for (Module module : modules) { @@ -81,7 +81,7 @@ public class PlatformAdminImpl implements PlatformAdmin { // TODO add hooks to get the resolution correct // TODO add listeners to keep state copy in sync } finally { - database.unlockRead(); + database.readUnlock(); } return state; } |