Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManju Mathew2014-02-20 01:24:40 +0000
committerManju Mathew2014-02-20 01:24:40 +0000
commit94600a848596bf620c65737b58c6dc080f338a71 (patch)
treef85fccfd8497abd278703c550a63083d16286007
parent3537588fb11588198eccbfa28281053e65d5cce5 (diff)
downloadeclipse.jdt.ui-94600a848596bf620c65737b58c6dc080f338a71.tar.gz
eclipse.jdt.ui-94600a848596bf620c65737b58c6dc080f338a71.tar.xz
eclipse.jdt.ui-94600a848596bf620c65737b58c6dc080f338a71.zip
Fixed Bug 427122: [1.8][quick fix] Change project compliance and JRE to
1.8 comment#6
-rw-r--r--org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java
index 0591bc420f..c3cf0720dd 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java
@@ -273,6 +273,7 @@ public class QuickFixProcessor implements IQuickFixProcessor {
case IProblem.MethodReferenceNotBelow18:
case IProblem.ConstructorReferenceNotBelow18:
case IProblem.IntersectionCastNotBelow18:
+ case IProblem.InvalidUsageOfTypeAnnotations:
return true;
default:
return SuppressWarningsSubProcessor.hasSuppressWarningsProposal(cu.getJavaProject(), problemId);
@@ -633,6 +634,7 @@ public class QuickFixProcessor implements IQuickFixProcessor {
case IProblem.MethodReferenceNotBelow18:
case IProblem.ConstructorReferenceNotBelow18:
case IProblem.IntersectionCastNotBelow18:
+ case IProblem.InvalidUsageOfTypeAnnotations:
ReorgCorrectionsSubProcessor.getNeedHigherComplianceProposals(context, problem, proposals, JavaCore.VERSION_1_8);
break;
case IProblem.NonGenericType:

Back to the top