Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJayaprakash Arthanareeswaran2013-10-04 05:30:14 -0400
committerJayaprakash Arthanareeswaran2013-10-08 14:05:35 -0400
commite31f6f284d6a7783d313253e27ac014524b5e1db (patch)
treed61e70104bdef6a9ca9b84e2751021d1acf8002e /org.eclipse.jdt.apt.ui
parentca0b2e603fb24c015a63f0abc25b7dfd7d323e4b (diff)
downloadeclipse.jdt.core-e31f6f284d6a7783d313253e27ac014524b5e1db.tar.gz
eclipse.jdt.core-e31f6f284d6a7783d313253e27ac014524b5e1db.tar.xz
eclipse.jdt.core-e31f6f284d6a7783d313253e27ac014524b5e1db.zip
Fix for Bug 418599 - Get rid of compile warnings in official build
Diffstat (limited to 'org.eclipse.jdt.apt.ui')
-rw-r--r--org.eclipse.jdt.apt.ui/.settings/org.eclipse.jdt.core.prefs1
-rw-r--r--org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java3
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.apt.ui/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.jdt.apt.ui/.settings/org.eclipse.jdt.core.prefs
index 82dbb0f6ac..4c0bf01ca9 100644
--- a/org.eclipse.jdt.apt.ui/.settings/org.eclipse.jdt.core.prefs
+++ b/org.eclipse.jdt.apt.ui/.settings/org.eclipse.jdt.core.prefs
@@ -60,6 +60,7 @@ org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
diff --git a/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java b/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java
index d44e9a1100..314f3cff08 100644
--- a/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java
+++ b/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2011 BEA Systems, Inc. and others.
+ * Copyright (c) 2005, 2013 BEA Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -161,7 +161,6 @@ public class AptConfigurationBlock extends BaseConfigurationBlock {
* Sorts items in the Processor Options list control.
*/
private static class ProcessorOptionSorter extends ViewerComparator {
- @SuppressWarnings("unchecked") // getComparator() returns a raw Comparator rather than a Comparator<T>
public int compare(Viewer viewer, Object e1, Object e2) {
return getComparator().compare(((ProcessorOption) e1).key, ((ProcessorOption) e2).key);
}

Back to the top