James Moger
2015-11-19 e41e8f8c3bc9f5edab1d271464364f95620ece8c
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;