src/java/fr/jayasoft/ivy/repository/ssh/SshCache.java
/**
     * Creates a cobined cache key from the given key parts
     * @param user name of the user
     * @param host of the connection
     * @param port of the connection
     * @return key for the cache
     */
Creates a cobined cache key from the given key parts
@param user name of the user
@param host of the connection
@param port of the connection
@return key for the cache
Creates a cobined cache key from the given key parts @param user name of the user @param host of the connection @param port of the connection @return key for the cache
private static String createCacheKey(String user, String host, int port) {
        String portToUse = "22";
        if(port != -1 && port != 22)
            portToUse = Integer.toString(port);
        return user.toLowerCase().trim()+"@"+host.toLowerCase().trim()+":"+portToUse;
    }
private static String createCacheKey ( String user , String host , int port ) { String portToUse = "22" ; if ( port != - 1 && port != 22 ) portToUse = Integer . toString ( port ) ; return user . toLowerCase ( ) . trim ( ) + "@" + host . toLowerCase ( ) . trim ( ) + ":" + portToUse ; }
Creates a cobined cache key from the given key parts
 @param user name of the user
 @param host of the connection
 @param port of the connection
 @return key for the cache
Creates a cobined cache key from the given key parts @param user name of the user @param host of the connection @param port of the connection @return key for the cache