Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-12-02 15:08:45 -0500
committerspingel2009-12-02 15:08:45 -0500
commit0feb17f304a6314f3e6aab97017a268c23b6429b (patch)
tree51ab47da6d23c6e9fa60460d0ba0e88fec75c023
parente60716d56a629e4d0c98db760c07abf2c3a967e4 (diff)
downloadorg.eclipse.mylyn.tasks-0feb17f304a6314f3e6aab97017a268c23b6429b.tar.gz
org.eclipse.mylyn.tasks-0feb17f304a6314f3e6aab97017a268c23b6429b.tar.xz
org.eclipse.mylyn.tasks-0feb17f304a6314f3e6aab97017a268c23b6429b.zip
NEW - bug 292090: cleanup fixme and todo comments for 3.4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=292090
-rw-r--r--org.eclipse.mylyn.bugzilla.core/build.properties2
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/build.properties3
-rw-r--r--org.eclipse.mylyn.tasks.bugs/build.properties4
-rw-r--r--org.eclipse.mylyn.tasks.core/build.properties4
-rw-r--r--org.eclipse.mylyn.tasks.ui/build.properties4
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PlanningPerspectiveFactory.java3
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/dialogs/AbstractWorkingSetDialogCOPY.java6
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java8
-rw-r--r--org.eclipse.mylyn.trac.tests/build.properties2
10 files changed, 13 insertions, 25 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/build.properties b/org.eclipse.mylyn.bugzilla.core/build.properties
index c52089448..46da6ce55 100644
--- a/org.eclipse.mylyn.bugzilla.core/build.properties
+++ b/org.eclipse.mylyn.bugzilla.core/build.properties
@@ -12,8 +12,6 @@ bin.includes = META-INF/,\
plugin.xml,\
plugin.properties
src.includes = about.html,\
- plugin.properties,\
- plugin.xml,\
schema/
jre.compilation.profile = J2SE-1.5
source.. = src/
diff --git a/org.eclipse.mylyn.bugzilla.ui/build.properties b/org.eclipse.mylyn.bugzilla.ui/build.properties
index d4538f49c..4e9aab5cb 100644
--- a/org.eclipse.mylyn.bugzilla.ui/build.properties
+++ b/org.eclipse.mylyn.bugzilla.ui/build.properties
@@ -12,7 +12,6 @@ bin.includes = META-INF/,\
about.html,\
.,\
plugin.properties
-src.includes = META-INF/,\
- about.html
+src.includes = about.html
jre.compilation.profile = J2SE-1.5
source.. = src/
diff --git a/org.eclipse.mylyn.tasks.bugs/build.properties b/org.eclipse.mylyn.tasks.bugs/build.properties
index 4863b8970..1f473cbe4 100644
--- a/org.eclipse.mylyn.tasks.bugs/build.properties
+++ b/org.eclipse.mylyn.tasks.bugs/build.properties
@@ -13,8 +13,6 @@ bin.includes = META-INF/,\
icons/,\
plugin.properties
src.includes = about.html,\
- schema/,\
- plugin.xml,\
- plugin.properties
+ schema/
jre.compilation.profile = J2SE-1.5
source.. = src/
diff --git a/org.eclipse.mylyn.tasks.core/build.properties b/org.eclipse.mylyn.tasks.core/build.properties
index 32188fe17..e7a7f198e 100644
--- a/org.eclipse.mylyn.tasks.core/build.properties
+++ b/org.eclipse.mylyn.tasks.core/build.properties
@@ -11,8 +11,6 @@ bin.includes = META-INF/,\
about.html,\
plugin.properties
src.includes = about.html,\
- schema/,\
- plugin.xml,\
- plugin.properties
+ schema/
jre.compilation.profile = J2SE-1.5
source.. = src/
diff --git a/org.eclipse.mylyn.tasks.ui/build.properties b/org.eclipse.mylyn.tasks.ui/build.properties
index 98e5e5888..22144f240 100644
--- a/org.eclipse.mylyn.tasks.ui/build.properties
+++ b/org.eclipse.mylyn.tasks.ui/build.properties
@@ -13,8 +13,6 @@ bin.includes = about.html,\
META-INF/,\
plugin.properties
src.includes = about.html,\
- schema/,\
- plugin.properties,\
- plugin.xml
+ schema/
jre.compilation.profile = J2SE-1.5
source.. = src/
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PlanningPerspectiveFactory.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PlanningPerspectiveFactory.java
index db095c88c..b24b6c775 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PlanningPerspectiveFactory.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PlanningPerspectiveFactory.java
@@ -59,9 +59,8 @@ public class PlanningPerspectiveFactory implements IPerspectiveFactory {
}
- @SuppressWarnings("unchecked")
public static void removeUninterestingActionSets(IPageLayout layout) {
- ArrayList actionSets = ((PageLayout) layout).getActionSets();
+ ArrayList<?> actionSets = ((PageLayout) layout).getActionSets();
actionSets.remove("org.eclipse.ui.edit.text.actionSet.annotationNavigation"); //$NON-NLS-1$
actionSets.remove("org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo"); //$NON-NLS-1$
actionSets.remove("org.eclipse.ui.externaltools.ExternalToolsSet"); //$NON-NLS-1$
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/dialogs/AbstractWorkingSetDialogCOPY.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/dialogs/AbstractWorkingSetDialogCOPY.java
index ce211c8ca..f133e5e56 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/dialogs/AbstractWorkingSetDialogCOPY.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/dialogs/AbstractWorkingSetDialogCOPY.java
@@ -45,11 +45,9 @@ import org.eclipse.ui.internal.WorkingSet;
import org.eclipse.ui.internal.registry.WorkingSetRegistry;
/**
- * Abstract baseclass for various working set dialogs.
- *
- * COPIED FROM: AbstractWorkingSetDialog
+ * Abstract baseclass for various working set dialogs. COPIED FROM: AbstractWorkingSetDialog
*/
-@SuppressWarnings( { "unchecked", "null" })
+@SuppressWarnings({ "unchecked", "null", "rawtypes" })
public abstract class AbstractWorkingSetDialogCOPY extends SelectionDialog implements IWorkingSetSelectionDialog {
private static final int ID_NEW = IDialogConstants.CLIENT_ID + 1;
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
index 819655e7f..4909621df 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
@@ -1011,7 +1011,7 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe
}
}
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
@Override
public Object getAdapter(Class adapter) {
if (adapter == IContentOutlinePage.class) {
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
index beb1131f0..cf42895e6 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
@@ -19,6 +19,7 @@ import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Iterator;
+import java.util.List;
import java.util.Set;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -548,18 +549,17 @@ public class TaskEditor extends SharedHeaderFormEditor {
return getContainer().getMenu();
}
- @SuppressWarnings("unchecked")
IFormPage[] getPages() {
- ArrayList formPages = new ArrayList();
+ List<IFormPage> formPages = new ArrayList<IFormPage>();
if (pages != null) {
for (int i = 0; i < pages.size(); i++) {
Object page = pages.get(i);
if (page instanceof IFormPage) {
- formPages.add(page);
+ formPages.add((IFormPage) page);
}
}
}
- return (IFormPage[]) formPages.toArray(new IFormPage[formPages.size()]);
+ return formPages.toArray(new IFormPage[formPages.size()]);
}
@Deprecated
diff --git a/org.eclipse.mylyn.trac.tests/build.properties b/org.eclipse.mylyn.trac.tests/build.properties
index 5597ba7c4..da94dcd12 100644
--- a/org.eclipse.mylyn.trac.tests/build.properties
+++ b/org.eclipse.mylyn.trac.tests/build.properties
@@ -10,4 +10,4 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
about.html
-src.includes = META-INF/
+src.includes = about.html

Back to the top