Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2009-03-02 16:39:09 +0000
committerThomas Watson2009-03-02 16:39:09 +0000
commitb462b097efaa21f8ce8d118dd338c09856bfce30 (patch)
tree5d72a51559453c0107adb0f709a5a2aac119547a /bundles/org.eclipse.equinox.app/src
parent0cbfa964939209ae903180714b032fc9ca8a5fe9 (diff)
downloadrt.equinox.bundles-b462b097efaa21f8ce8d118dd338c09856bfce30.tar.gz
rt.equinox.bundles-b462b097efaa21f8ce8d118dd338c09856bfce30.tar.xz
rt.equinox.bundles-b462b097efaa21f8ce8d118dd338c09856bfce30.zip
rename isLocked to isPersistentlyLocked to be more clear.
Diffstat (limited to 'bundles/org.eclipse.equinox.app/src')
-rwxr-xr-xbundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java b/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java
index ca74a4abc..1ece3f702 100755
--- a/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java
+++ b/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java
@@ -28,7 +28,7 @@ import org.osgi.framework.InvalidSyntaxException;
* information about it. The application descriptor can be used for instance
* creation.
*
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public abstract class ApplicationDescriptor {
@@ -111,7 +111,7 @@ public abstract class ApplicationDescriptor {
private final String pid;
- private boolean[] locked = {false};
+ private final boolean[] locked = {false};
/**
* Constructs the <code>ApplicationDescriptor</code>.
@@ -129,7 +129,7 @@ public abstract class ApplicationDescriptor {
}
this.pid = applicationId;
- locked[0] = isLocked();
+ locked[0] = isPersistentlyLocked();
}
/**
@@ -506,7 +506,7 @@ public abstract class ApplicationDescriptor {
AppPersistence.saveLock(this, locked);
}
- private boolean isLocked() {
+ private boolean isPersistentlyLocked() {
return AppPersistence.isLocked(this);
}

Back to the top