Skip to content

Commit

Permalink
cleanup unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
sbera87 committed Oct 24, 2024
1 parent efa5bb4 commit 1be4d61
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,6 @@ public interface GenericCodegenAdapter<SHAPE, DATA> {

public void recordContainerForImport(SHAPE s);

public static String convertSnakeToPascal(String snakeCase) {
StringBuilder result = new StringBuilder();
String[] words = snakeCase.split("_");

// Capitalize the first word
result.append(words[0].substring(0, 1).toUpperCase())
.append(words[0].substring(1).toLowerCase());

// Capitalize the first letter of each remaining word and append
for (int i = 1; i < words.length; i++) {
result.append(words[i].substring(0, 1).toUpperCase())
.append(words[i].substring(1).toLowerCase());
}

return result.toString();
}

public static String capitalizeFirstLetter(String input) {
StringBuilder result = new StringBuilder();
result.append(input.substring(0, 1).toUpperCase())
Expand Down

0 comments on commit 1be4d61

Please sign in to comment.