Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2011-11-16 19:28:39 +0000
committerMatthias Sohn2011-11-16 19:28:39 +0000
commit70d1cc537aa6005421a220a47073cbf7291ef69e (patch)
treeda7493153e1cd612cdaa83d12dca5b6d5122be23 /org.eclipse.egit.mylyn.ui/src/org
parentcf6697f255e38f7138e192d2d40a2578238d2b72 (diff)
downloadegit-70d1cc537aa6005421a220a47073cbf7291ef69e.tar.gz
egit-70d1cc537aa6005421a220a47073cbf7291ef69e.tar.xz
egit-70d1cc537aa6005421a220a47073cbf7291ef69e.zip
[findBugs] Don't catch unexpected checked exceptions
Change-Id: Ie4f42f02428cebbd29d208fb9d57a61393bc34f9 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.mylyn.ui/src/org')
-rw-r--r--org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java b/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java
index 98b1d642dd..c05e2e39c4 100644
--- a/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java
+++ b/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java
@@ -11,6 +11,7 @@
*******************************************************************************/
package org.eclipse.egit.internal.mylyn.ui.commit;
+import java.io.IOException;
import java.net.InetAddress;
import java.net.MalformedURLException;
import java.net.URL;
@@ -88,7 +89,9 @@ public class TaskReferenceFactory implements IAdapterFactory {
message = revCommit.getFullMessage();
timestamp = (long)revCommit.getCommitTime() * 1000;
}
- } catch (Exception e) {
+ } catch (IOException e) {
+ continue;
+ } catch (RuntimeException e) {
continue;
}

Back to the top