Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hammer2019-05-12 14:34:31 +0000
committerMichael Keppler2019-05-14 11:48:27 +0000
commit0efded6b96f5eae953f448e36cb7a874853e4c85 (patch)
treebb5dd25442d43d1896edeab52e7a2d4e9616f147 /org.eclipse.egit.mylyn.ui
parentd03c47ba5073afac339ef7df0fe29b7bbf4c2427 (diff)
downloadegit-0efded6b96f5eae953f448e36cb7a874853e4c85.tar.gz
egit-0efded6b96f5eae953f448e36cb7a874853e4c85.tar.xz
egit-0efded6b96f5eae953f448e36cb7a874853e4c85.zip
Join catch sections using multicatch
Change-Id: I4d0eabb0faf45a6d032f69377ad08c63363cd463 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
Diffstat (limited to 'org.eclipse.egit.mylyn.ui')
-rw-r--r--org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java4
1 files changed, 1 insertions, 3 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 eb1dd8b85e..d1b8455dbc 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
@@ -92,9 +92,7 @@ public class TaskReferenceFactory implements IAdapterFactory {
repoUrl = getRepoUrl(r);
message = revCommit.getFullMessage();
timestamp = (long) revCommit.getCommitTime() * 1000;
- } catch (IOException e) {
- continue;
- } catch (RuntimeException e) {
+ } catch (IOException | RuntimeException e) {
continue;
}

Back to the top