Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-09-23 19:23:46 +0000
committerDJ Houghton2010-09-23 19:23:46 +0000
commitfeab2aa7b06d7ac2dfa883dce160a7e3d0015fa3 (patch)
tree975fe38731e68f7fd3507c53ee273ec407d30217 /bundles/org.eclipse.equinox.p2.ui.sdk
parentcfa99d4271a2e6dad5ff110b7f0b29eaa029f3ec (diff)
downloadrt.equinox.p2-feab2aa7b06d7ac2dfa883dce160a7e3d0015fa3.tar.gz
rt.equinox.p2-feab2aa7b06d7ac2dfa883dce160a7e3d0015fa3.tar.xz
rt.equinox.p2-feab2aa7b06d7ac2dfa883dce160a7e3d0015fa3.zip
Fix compiler warnings.
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui.sdk')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/ProvSDKUIActivator.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/prefs/PreferenceInitializer.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF
index 4f5e0f9c5..06d6a21f2 100644
--- a/bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-SymbolicName: org.eclipse.equinox.p2.ui.sdk;singleton:=true
-Bundle-Version: 1.0.100.qualifier
+Bundle-Version: 1.0.200.qualifier
Bundle-Activator: org.eclipse.equinox.internal.p2.ui.sdk.ProvSDKUIActivator
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/ProvSDKUIActivator.java b/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/ProvSDKUIActivator.java
index 1fd23f0b7..61ea6c7df 100644
--- a/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/ProvSDKUIActivator.java
+++ b/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/ProvSDKUIActivator.java
@@ -101,7 +101,7 @@ public class ProvSDKUIActivator extends AbstractUIPlugin {
return ProvisioningUI.getDefaultUI();
}
- private Policy getPolicy() {
+ Policy getPolicy() {
return getProvisioningUI().getPolicy();
}
@@ -140,7 +140,7 @@ public class ProvSDKUIActivator extends AbstractUIPlugin {
}
private IAgentLocation getAgentLocation() {
- ServiceReference ref = getContext().getServiceReference(IAgentLocation.SERVICE_NAME);
+ ServiceReference<?> ref = getContext().getServiceReference(IAgentLocation.SERVICE_NAME);
if (ref == null)
return null;
IAgentLocation location = (IAgentLocation) getContext().getService(ref);
diff --git a/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/prefs/PreferenceInitializer.java b/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/prefs/PreferenceInitializer.java
index 3c63cf0dd..d1bfc9b15 100644
--- a/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/prefs/PreferenceInitializer.java
+++ b/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/prefs/PreferenceInitializer.java
@@ -57,7 +57,7 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer {
}
private static IAgentLocation getDefaultAgentLocation() {
- ServiceReference reference = ProvSDKUIActivator.getContext().getServiceReference(IAgentLocation.SERVICE_NAME);
+ ServiceReference<?> reference = ProvSDKUIActivator.getContext().getServiceReference(IAgentLocation.SERVICE_NAME);
if (reference == null)
return null;
IAgentLocation result = (IAgentLocation) ProvSDKUIActivator.getContext().getService(reference);

Back to the top