Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-03-11 17:50:16 -0400
committerspingel2008-03-11 17:50:16 -0400
commit4582d73a3976408542f6d518df44e640ffc996cd (patch)
treee6ec1fb2c6f9cfe5f16ff537d6b104e05a40cd93
parente92807926f7ba46689daa9207bb23dd05ce641e9 (diff)
downloadorg.eclipse.mylyn.tasks-4582d73a3976408542f6d518df44e640ffc996cd.tar.gz
org.eclipse.mylyn.tasks-4582d73a3976408542f6d518df44e640ffc996cd.tar.xz
org.eclipse.mylyn.tasks-4582d73a3976408542f6d518df44e640ffc996cd.zip
RESOLVED - bug 222266: [m2.3.1] update end user license agreement in features
https://bugs.eclipse.org/bugs/show_bug.cgi?id=222266
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
index 9768a739b..473c32def 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
@@ -1084,6 +1084,9 @@ public class TasksUiPlugin extends AbstractUIPlugin {
}
private static String cleanValue(String value) {
+ if (value == null) {
+ return "";
+ }
String commentText = value.replaceAll("\\s", " ").trim();
if (commentText.length() > 60) {
commentText = commentText.substring(0, 55) + "...";

Back to the top