public static String noStartingSlash(String path){
  return hasStartingSlash(path) ? path.substring(1) : path;
}

public static String noStartingSlash ( String path ) { return hasStartingSlash ( path ) ? path . substring ( 1 ) : path ; }
drops starting slash from path if present .
