Commit 9f258e5f authored by Robert Smith's avatar Robert Smith
Browse files

Made try/catch statement generic

Removed the specification for which exception was thrown in
GitCloneHandler, since Maven doesn't recognize that function as throwing
the previously given exception.
Signed-off-by: Robert Smith's avatarRobert Smith <>
parent 4705b1a5
......@@ -166,11 +166,7 @@ public class GitCloneHandler extends AbstractHandler {
cloneOperation = new CloneOperation(new URIish(repo), true, null, cloneLocation, branch, "origin",
try {
UserPasswordCredentials credentials = SecureStoreUtils.getCredentials(new URIish(repo));
} catch (StorageException e) {
UserPasswordCredentials credentials = SecureStoreUtils.getCredentials(new URIish(repo));;
final RepositoryUtil util = Activator.getDefault().getRepositoryUtil();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment