private static String join ( String typeMapping , String mapping ) { return MULTIPLE_SLASHES . matcher ( typeMapping . concat ( "/" ) . concat ( mapping ) ) . replaceAll ( "/" ) ; }
Joins the given mappings making sure exactly one slash .