Skip to content
Snippets Groups Projects
Commit c3dcd4c4 authored by René Schöne's avatar René Schöne
Browse files

working on attributes as endpoint target

- fix capitalize for null and empty strings, caused problems when used for empty entityName of context-free-endpoints
parent 27cf1820
Branches
No related tags found
1 merge request!25Resolve "Feature: Send endpoint for attributes"
Pipeline #12542 failed
aspect Util { aspect Util {
static String ASTNode.capitalize(String s) { static String ASTNode.capitalize(String s) {
if (s == null) return null;
if (s.isEmpty()) return "";
return Character.toUpperCase(s.charAt(0)) + s.substring(1); return Character.toUpperCase(s.charAt(0)) + s.substring(1);
} }
protected T JastAddList.firstChild() { return getChild(0); } protected T JastAddList.firstChild() { return getChild(0); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment