From: Tim P <ti...@us...> - 2008-03-20 22:27:23
|
Update of /cvsroot/webmacro/webmacro/src/org/webmacro/adapter/jsp In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv9866/src/org/webmacro/adapter/jsp Modified Files: TemplateTag.java Log Message: Checkstyle: Avoid inner assignments Index: TemplateTag.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/adapter/jsp/TemplateTag.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TemplateTag.java 20 Mar 2008 11:52:10 -0000 1.6 --- TemplateTag.java 20 Mar 2008 22:27:20 -0000 1.7 *************** *** 127,131 **** public WebMacro getWebMacro() throws InitException { ! return webmacro == null ? webmacro = makeWM() : webmacro; } --- 127,133 ---- public WebMacro getWebMacro() throws InitException { ! if (webmacro == null) ! webmacro = makeWM(); ! return webmacro; } |