commit | 742d78cd36768179a03492f75f34f859dd69713f | [log] [tgz] |
---|---|---|
author | David Green <david.green@tasktop.com> | Tue Oct 25 17:34:39 2011 -0700 |
committer | David Green <david.green@tasktop.com> | Tue Oct 25 17:34:39 2011 -0700 |
tree | 16edd9973ef3d7753f76e1cb03d7c81ce635094a | |
parent | bbd8245d4dfcbad99867579008ca078c95c5e151 [diff] |
NEW - bug 191522: provide full text search functionality over task comments https://bugs.eclipse.org/bugs/show_bug.cgi?id=191522 Fix findbugs problem.
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 69a4b4a..20951b7 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 @@ 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 {