Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Green2011-10-26 00:34:39 +0000
committerDavid Green2011-10-26 00:34:39 +0000
commit742d78cd36768179a03492f75f34f859dd69713f (patch)
tree16edd9973ef3d7753f76e1cb03d7c81ce635094a
parentbbd8245d4dfcbad99867579008ca078c95c5e151 (diff)
downloadorg.eclipse.mylyn.incubator-742d78cd36768179a03492f75f34f859dd69713f.tar.gz
org.eclipse.mylyn.incubator-742d78cd36768179a03492f75f34f859dd69713f.tar.xz
org.eclipse.mylyn.incubator-742d78cd36768179a03492f75f34f859dd69713f.zip
NEW - bug 191522: provide full text search functionality over task
comments https://bugs.eclipse.org/bugs/show_bug.cgi?id=191522 Fix findbugs problem.
-rw-r--r--org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core/TaskListIndex.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core/TaskListIndex.java b/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core/TaskListIndex.java
index 69a4b4a3..20951b76 100644
--- a/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core/TaskListIndex.java
+++ b/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core/TaskListIndex.java
@@ -215,7 +215,10 @@ public class TaskListIndex implements ITaskDataManagerListener, ITaskListChangeL
this.startupDelay = startupDelay;
if (!indexLocation.exists()) {
rebuildIndex = true;
- indexLocation.mkdirs();
+ if (!indexLocation.mkdirs()) {
+ StatusHandler.log(new Status(IStatus.ERROR, TasksIndexCore.BUNDLE_ID,
+ "Cannot create task list index folder: " + indexLocation)); //$NON-NLS-1$
+ }
}
if (indexLocation.exists() && indexLocation.isDirectory()) {
try {

Back to the top