No effective change - Code cleanup, simplified if

This commit is contained in:
Robin Bygrave
2015-07-31 13:23:49 +12:00
parent 88340618af
commit adef15ce2b
14 changed files with 19 additions and 79 deletions
@@ -32,10 +32,7 @@ public abstract class AnnotationBase {
* Checks string is null or empty .
*/
protected boolean isEmpty(String s) {
if (s == null || s.trim().length() == 0) {
return true;
}
return false;
return s == null || s.trim().length() == 0;
}