Skip to main content
summaryrefslogtreecommitdiffstats
path: root/xlc
diff options
context:
space:
mode:
Diffstat (limited to 'xlc')
-rw-r--r--xlc/org.eclipse.cdt.core.lrparser.xlc/META-INF/MANIFEST.MF2
-rw-r--r--xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCLanguage.java5
-rw-r--r--xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCPPLanguage.java5
-rw-r--r--xlc/org.eclipse.cdt.xlc.feature/feature.xml2
-rw-r--r--xlc/org.eclipse.cdt.xlc.sdk-feature/feature.xml2
-rw-r--r--xlc/pom.xml2
6 files changed, 8 insertions, 10 deletions
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/META-INF/MANIFEST.MF b/xlc/org.eclipse.cdt.core.lrparser.xlc/META-INF/MANIFEST.MF
index b588c0972c..db79790d4e 100644
--- a/xlc/org.eclipse.cdt.core.lrparser.xlc/META-INF/MANIFEST.MF
+++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.1
Bundle-SymbolicName: org.eclipse.cdt.core.lrparser.xlc;singleton:=true
-Bundle-Version: 5.1.1.qualifier
+Bundle-Version: 5.1.100.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-Localization: plugin
Require-Bundle: org.eclipse.cdt.core;bundle-version="5.1.0",
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCLanguage.java b/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCLanguage.java
index f53098c777..43e10c2cde 100644
--- a/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCLanguage.java
+++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCLanguage.java
@@ -63,11 +63,10 @@ public class XlcCLanguage extends GCCLanguage {
return XlcCScannerExtensionConfiguration.getInstance();
}
- @SuppressWarnings("rawtypes")
@Override
- public Object getAdapter(Class adapter) {
+ public <T> T getAdapter(Class<T> adapter) {
if (ICLanguageKeywords.class.equals(adapter))
- return XlcKeywords.ALL_C_KEYWORDS;
+ return adapter.cast(XlcKeywords.ALL_C_KEYWORDS);
return super.getAdapter(adapter);
}
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCPPLanguage.java b/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCPPLanguage.java
index 7c19b023de..1c627f619c 100644
--- a/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCPPLanguage.java
+++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/core/lrparser/xlc/XlcCPPLanguage.java
@@ -87,11 +87,10 @@ public class XlcCPPLanguage extends GPPLanguage {
return XlcCPPScannerExtensionConfiguration.getInstance();
}
- @SuppressWarnings("rawtypes")
@Override
- public Object getAdapter(Class adapter) {
+ public <T> T getAdapter(Class<T> adapter) {
if (ICLanguageKeywords.class.equals(adapter))
- return XlcKeywords.ALL_CPP_KEYWORDS;
+ return adapter.cast(XlcKeywords.ALL_CPP_KEYWORDS);
return super.getAdapter(adapter);
}
diff --git a/xlc/org.eclipse.cdt.xlc.feature/feature.xml b/xlc/org.eclipse.cdt.xlc.feature/feature.xml
index 905aedd1c2..4df382bf99 100644
--- a/xlc/org.eclipse.cdt.xlc.feature/feature.xml
+++ b/xlc/org.eclipse.cdt.xlc.feature/feature.xml
@@ -2,7 +2,7 @@
<feature
id="org.eclipse.cdt.xlc.feature"
label="%featureName"
- version="9.9.0.qualifier"
+ version="9.10.0.qualifier"
provider-name="%providerName"
plugin="org.eclipse.cdt.managedbuilder.xlc.core"
license-feature="org.eclipse.license"
diff --git a/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.xml b/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.xml
index a29a37a0a5..f3fc5ecf95 100644
--- a/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.xml
+++ b/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.xml
@@ -2,7 +2,7 @@
<feature
id="org.eclipse.cdt.xlc.sdk"
label="%featureName"
- version="9.9.0.qualifier"
+ version="9.10.0.qualifier"
provider-name="%providerName"
license-feature="org.eclipse.license"
license-feature-version="0.0.0">
diff --git a/xlc/pom.xml b/xlc/pom.xml
index 4fba6efbdc..01e38d80fa 100644
--- a/xlc/pom.xml
+++ b/xlc/pom.xml
@@ -7,7 +7,7 @@
<parent>
<groupId>org.eclipse.cdt</groupId>
<artifactId>cdt-parent</artifactId>
- <version>9.9.0-SNAPSHOT</version>
+ <version>9.10.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.cdt.xlc-parent</artifactId>

Back to the top