From: Tim P <ti...@us...> - 2008-03-25 22:56:09
|
Update of /cvsroot/webmacro/webmacro/src/org/webmacro/engine In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15183/src/org/webmacro/engine Modified Files: WMTemplate.java Log Message: Eclipse: variable can only be null Index: WMTemplate.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/engine/WMTemplate.java,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** WMTemplate.java 20 Mar 2008 21:02:18 -0000 1.52 --- WMTemplate.java 25 Mar 2008 22:56:02 -0000 1.53 *************** *** 199,203 **** if (bc != null) be.setContextLocation(bc.getCurrentLocation()); - newContent = null; _log.error("Template contained invalid data", be); throw be; --- 199,202 ---- *************** *** 205,209 **** catch (IOException e) { - newContent = null; // don't let the old one survive _log.error("Template: Could not read template: " + this); throw e; --- 204,207 ---- |