From: <ti...@ww...> - 2003-05-29 14:02:46
|
Update of /usr/cvsroot/melati/src/org/melati/template In directory ganesh.paneris.org:/tmp/cvs-serv1675/src/org/melati/template Modified Files: ClassNameTempletLoader.java SimpleDateAdaptor.java Log Message: Maven checkstyle recommeded changes Index: ClassNameTempletLoader.java =================================================================== RCS file: /usr/cvsroot/melati/src/org/melati/template/ClassNameTempletLoader.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** ClassNameTempletLoader.java 2003/05/13 16:04:31 1.10 --- ClassNameTempletLoader.java 2003/05/29 14:19:26 1.11 *************** *** 136,140 **** purpose, clazz.getName()); break; ! } catch (NotFoundException e) {} clazz = clazz.getSuperclass(); } --- 136,142 ---- purpose, clazz.getName()); break; ! } catch (NotFoundException e) { ! ; // try the next one up ! } clazz = clazz.getSuperclass(); } Index: SimpleDateAdaptor.java =================================================================== RCS file: /usr/cvsroot/melati/src/org/melati/template/SimpleDateAdaptor.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** SimpleDateAdaptor.java 2002/12/13 15:00:58 1.7 --- SimpleDateAdaptor.java 2003/05/29 14:19:26 1.8 *************** *** 64,73 **** public static final SimpleDateAdaptor it = new SimpleDateAdaptor(); ! static private SimpleDateFormat dateFormatter1 = new SimpleDateFormat("dd/MM/yyyy"); // allow other forms of date - this one yyyyMMdd ! static private SimpleDateFormat dateFormatter2 = new SimpleDateFormat("yyyyMMdd"); --- 64,73 ---- public static final SimpleDateAdaptor it = new SimpleDateAdaptor(); ! private static SimpleDateFormat dateFormatter1 = new SimpleDateFormat("dd/MM/yyyy"); // allow other forms of date - this one yyyyMMdd ! private static SimpleDateFormat dateFormatter2 = new SimpleDateFormat("yyyyMMdd"); |