Quick and dirty fix for https://github.com/spring-projects/sts4/issues/327
This commit is contained in:
@@ -257,4 +257,8 @@ public class StringUtil {
|
||||
|
||||
return queryindex == queryChars.length;
|
||||
}
|
||||
|
||||
public static String snakeCaseToHyphens(String snakeString) {
|
||||
return snakeString.replace('_', '-').toLowerCase();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user