Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDariusz Luksza2011-05-12 22:14:37 +0000
committerCode Review2011-05-12 22:14:37 +0000
commit15fc5ec46cc0e8753e6cbc83d76fe4da6f39df12 (patch)
treed4b5b32ff411dcd3a44074248d9bbb29f764d9a7
parent12ef0bd220f62b7e6881f67147bb914d3256dca0 (diff)
parent0b6eaf63632621f844c9868e481e6b8dd6501a2d (diff)
downloadegit-15fc5ec46cc0e8753e6cbc83d76fe4da6f39df12.tar.gz
egit-15fc5ec46cc0e8753e6cbc83d76fe4da6f39df12.tar.xz
egit-15fc5ec46cc0e8753e6cbc83d76fe4da6f39df12.zip
Merge "[findBugs] Do not ignore to throw wrapped exceptions"
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/PushAction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/PushAction.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/PushAction.java
index 9bba857282..7192cae0b1 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/PushAction.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/PushAction.java
@@ -69,9 +69,9 @@ public class PushAction extends SynchronizeModelAction {
push.setCredentialsProvider(new EGitCredentialsProvider());
push.execute(monitor);
} catch (URISyntaxException e) {
- new InvocationTargetException(e);
+ throw new InvocationTargetException(e);
} catch (CoreException e) {
- new InvocationTargetException(e);
+ throw new InvocationTargetException(e);
}
}
};

Back to the top