diff options
| author | zeapo <mohamed@zenadi.com> | 2014-10-22 23:15:24 +0200 |
|---|---|---|
| committer | zeapo <mohamed@zenadi.com> | 2014-10-22 23:15:24 +0200 |
| commit | 9aea6560b0b66285c7c1c47fed828c22514d9e2b (patch) | |
| tree | 2e24fc1f75a7f47459d9955cc4c96a4b935b5420 /app/src/main/java/com/zeapo/pwdstore/GitHandler.java | |
| parent | 2e7f55034cc9d89a2fe7359c16a09b64fc8de24e (diff) | |
| download | HardenedPass-9aea6560b0b66285c7c1c47fed828c22514d9e2b.tar.gz HardenedPass-9aea6560b0b66285c7c1c47fed828c22514d9e2b.zip | |
Corrects issue where list was stacked again and again + clean up
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/GitHandler.java')
| -rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/GitHandler.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/GitHandler.java b/app/src/main/java/com/zeapo/pwdstore/GitHandler.java index 8dd56364..6003cd73 100644 --- a/app/src/main/java/com/zeapo/pwdstore/GitHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/GitHandler.java @@ -299,7 +299,6 @@ public class GitHandler extends ActionBarActivity { Matcher matcher = pattern.matcher(uri); if (matcher.find()) { int count = matcher.groupCount(); - Log.i("GIT", ">> " + count); if (count > 1) { server_user.setText(matcher.group(1)); server_url.setText(matcher.group(2)); @@ -627,7 +626,7 @@ public class GitHandler extends ActionBarActivity { /** Finds the method and provides it with authentication paramters via invokeWithAuthentication */ private void authenticateAndRun(String operation) { try { - invokeWithAuthentication(this, this.getClass().getMethod(operation, UsernamePasswordCredentialsProvider.class)); + invokeWithAuthentication(this, GitHandler.class.getMethod(operation, UsernamePasswordCredentialsProvider.class)); } catch (Exception e) { e.printStackTrace(); } |
