Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.help.ui/user/tips.html21
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java8
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java1
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java3
4 files changed, 21 insertions, 12 deletions
diff --git a/org.eclipse.mylyn.help.ui/user/tips.html b/org.eclipse.mylyn.help.ui/user/tips.html
new file mode 100644
index 000000000..7592084f2
--- /dev/null
+++ b/org.eclipse.mylyn.help.ui/user/tips.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+ <head>
+<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
+ <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <title>
+ Preparing Eclipse
+ </title>
+ </head>
+ <body>
+ <h1>
+ Tips &amp; Tricks</h1>
+ <p>To find all System.out/err calls before checking in, search for &quot;System.&quot;
+ within the task contxt.</p>
+ <p>&nbsp;</p>
+
+ </body>
+</html>
+
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java
index 3537a371d..a0566e3a4 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java
@@ -42,16 +42,8 @@ public class ClearContextAction extends Action {
@Override
public void run() {
-// MylarPlugin.getDefault().actionObserved(this);
Object selectedObject = ((IStructuredSelection)this.view.getViewer().getSelection()).getFirstElement();
if (selectedObject != null && selectedObject instanceof ITask) {
-// ITask task = (ITask) selectedObject;
-// if (task.isActive()) {
-// MessageDialog.openError(Workbench.getInstance()
-// .getActiveWorkbenchWindow().getShell(), "Clear context failed",
-// "Task must be deactivated before clearing task context.");
-// return;
-// }
boolean deleteConfirmed = MessageDialog.openQuestion(
Workbench.getInstance().getActiveWorkbenchWindow().getShell(),
"Confirm clear context",
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java
index 605750f17..a6af5e8d8 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java
@@ -55,7 +55,6 @@ public class TaskListLabelProvider extends LabelProvider implements ITableLabelP
return element.getDescription(true);
}
}
- System.out.println("Not TaskListElement");
return "";
}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java
index e901459ef..7fe36b5e1 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java
@@ -40,9 +40,6 @@ public class TaskTest {
int compare = (this.name.compareTo(otherTask.name));
if (compare != 0)
result = false;
- if (!result)
- System.out.println("this: " + this.name + " otherName: "
- + otherTask.name + " a");
if (this.categories.size() == otherTask.categories.size()) {
for (int i = 0; i < this.categories.size(); i++) {

Back to the top