Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBJ Hargrave2013-05-21 20:23:12 +0000
committerBJ Hargrave2013-05-22 20:57:48 +0000
commitda591a101c0a8a9ba0f8077143998aaebec887ed (patch)
tree31f75eccda4d6fc03b898107e6f4e5e595b4ff1c /bundles/org.eclipse.osgi/supplement
parent25139a28c94158b7acd3a81fee2d712b1d9b6def (diff)
downloadrt.equinox.framework-da591a101c0a8a9ba0f8077143998aaebec887ed.tar.gz
rt.equinox.framework-da591a101c0a8a9ba0f8077143998aaebec887ed.tar.xz
rt.equinox.framework-da591a101c0a8a9ba0f8077143998aaebec887ed.zip
Use PrivilegedAction<Void> when the action does not return any value
Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.osgi/supplement')
-rw-r--r--bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java
index b604a2c5c..715afa293 100644
--- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java
+++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java
@@ -143,8 +143,8 @@ public abstract class NLS {
load(baseName, clazz);
return;
}
- AccessController.doPrivileged(new PrivilegedAction<Object>() {
- public Object run() {
+ AccessController.doPrivileged(new PrivilegedAction<Void>() {
+ public Void run() {
load(baseName, clazz);
return null;
}

Back to the top