diff options
author | Olivier Lamy <olamy@apache.org> | 2012-12-31 14:14:24 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-12-31 14:14:24 +0000 |
commit | ee548d9fb5b750604b73b26385757ad547b0bcfb (patch) | |
tree | 4c2e61bc2cafcb36ca2bdb118ba5208e1890f2df /archiva-modules/archiva-base/archiva-model | |
parent | 7afb00d1c8088c6cf777d3db72bffaaf980e587a (diff) | |
download | archiva-ee548d9fb5b750604b73b26385757ad547b0bcfb.tar.gz archiva-ee548d9fb5b750604b73b26385757ad547b0bcfb.zip |
use indexOf(char)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427127 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-model')
-rw-r--r-- | archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/archiva/model/RepositoryURL.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/archiva/model/RepositoryURL.java b/archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/archiva/model/RepositoryURL.java index 1e94ff292..0ea381b46 100644 --- a/archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/archiva/model/RepositoryURL.java +++ b/archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/archiva/model/RepositoryURL.java @@ -72,7 +72,7 @@ public class RepositoryURL } // attempt to find the start of the 'path' - pos = url.indexOf( "/", postProtocolPos ); + pos = url.indexOf( '/', postProtocolPos ); // no path specified - ex "http://localhost" if ( pos == ( -1 ) ) |