Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a null-safe #strings.asString() function #45

Closed
danielfernandez opened this issue Aug 7, 2012 · 1 comment
Closed

Add a null-safe #strings.asString() function #45

danielfernandez opened this issue Aug 7, 2012 · 1 comment

Comments

@danielfernandez
Copy link
Member

Both OGNL and String EL allow the execution of expressions like ${myVar.toString()}, but these will raise an error if myVar is null.

A new asString() function could be added to the #strings utility object to avoid this.

@ghost ghost assigned danielfernandez Aug 7, 2012
@danielfernandez
Copy link
Member Author

Added to code trunk and 2.0.12-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant