protected String normalizePath ( String repoPath ) { if ( repoPath . length ( ) > 0 && repoPath . endsWith ( "/" ) ) { return repoPath . substring ( 0 , repoPath . length ( ) - 1 ) ; } return repoPath ; }
Normalizes path .