From 979c75ae88f2a1da3c7bc70d58aff38e9028f0c3 Mon Sep 17 00:00:00 2001
From: RainerW <github@inforw.de>
Date: Thu, 08 Oct 2015 06:32:35 -0400
Subject: [PATCH] #932 do not trim passwords anywhere in the ui
---
src/main/java/com/gitblit/models/GitClientApplication.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/gitblit/models/GitClientApplication.java b/src/main/java/com/gitblit/models/GitClientApplication.java
index eb47eb1..e5b2e6c 100644
--- a/src/main/java/com/gitblit/models/GitClientApplication.java
+++ b/src/main/java/com/gitblit/models/GitClientApplication.java
@@ -23,7 +23,7 @@
/**
* Model class to represent a git client application.
- *
+ *
* @author James Moger
*
*/
@@ -60,18 +60,18 @@
}
return false;
}
-
+
public boolean supportsTransport(String transportOrUrl) {
if (ArrayUtils.isEmpty(transports)) {
return true;
}
-
+
String scheme = transportOrUrl;
if (transportOrUrl.indexOf(':') > -1) {
// strip scheme
scheme = transportOrUrl.substring(0, transportOrUrl.indexOf(':'));
}
-
+
for (String transport : transports) {
if (transport.equalsIgnoreCase(scheme)) {
return true;
@@ -79,7 +79,7 @@
}
return false;
}
-
+
@Override
public String toString() {
return StringUtils.isEmpty(title) ? name : title;
--
Gitblit v1.9.1