Created
January 22, 2014 23:42
-
-
Save andrewpthorp/8569899 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static String className(Class<?> clazz) { | |
String className = clazz.getSimpleName().toLowerCase().replace("$", " "); | |
// TODO: Delurk this, with invoiceitem being a valid url, we can't get too | |
// fancy yet. | |
if (className.equals("applicationfee")) { | |
return "application_fee"; | |
} else { | |
return className; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment