@Test public void nullIfUnsetShouldReturnValueIfNotEmpty(){ assertEquals("a", toTest.nullIfUnset("a")); }
protected String nullIfUnset(String value){ return value.length() > 0 ? value : null; }
ParamAnnotationHandler extends StringBasedAnnotationHandler<T> { protected String nullIfUnset(String value){ return value.length() > 0 ? value : null; } }
ParamAnnotationHandler extends StringBasedAnnotationHandler<T> { protected String nullIfUnset(String value){ return value.length() > 0 ? value : null; } ParamAnnotationHandler(CRestConfig crestConfig); }
ParamAnnotationHandler extends StringBasedAnnotationHandler<T> { protected String nullIfUnset(String value){ return value.length() > 0 ? value : null; } ParamAnnotationHandler(CRestConfig crestConfig);  }
ParamAnnotationHandler extends StringBasedAnnotationHandler<T> { protected String nullIfUnset(String value){ return value.length() > 0 ? value : null; } ParamAnnotationHandler(CRestConfig crestConfig);   }