diff options
author | Manju Mathew | 2014-02-20 01:24:40 +0000 |
---|---|---|
committer | Manju Mathew | 2014-02-20 01:24:40 +0000 |
commit | 94600a848596bf620c65737b58c6dc080f338a71 (patch) | |
tree | f85fccfd8497abd278703c550a63083d16286007 | |
parent | 3537588fb11588198eccbfa28281053e65d5cce5 (diff) | |
download | eclipse.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.java | 2 |
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: |