From: <dr...@us...> - 2002-11-10 20:35:12
|
Update of /cvsroot/webmacro/webmacro/src/org/webmacro/servlet In directory usw-pr-cvs1:/tmp/cvs-serv29126/src/org/webmacro/servlet Modified Files: ServletLog.java WMServlet.java Log Message: - make WMServlet.doGet() non-final - make logging API's use Throwable instead of Exception You'll want to do an "ant clean" before you try to compile. Index: ServletLog.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/servlet/ServletLog.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ServletLog.java 11 Jun 2002 17:43:22 -0000 1.4 --- ServletLog.java 10 Nov 2002 20:35:08 -0000 1.5 *************** *** 59,64 **** private Object[] _args = new Object[4]; ! public void log(Date date, String name, String level, String message, ! Exception e) { synchronized (_args) { _args[0] = date; --- 59,63 ---- private Object[] _args = new Object[4]; ! public void log(Date date, String name, String level, String message, Throwable e) { synchronized (_args) { _args[0] = date; Index: WMServlet.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/servlet/WMServlet.java,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** WMServlet.java 24 Jun 2002 23:30:26 -0000 1.51 --- WMServlet.java 10 Nov 2002 20:35:08 -0000 1.52 *************** *** 191,195 **** * @exception IOException if we can't write to the output stream */ ! final protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { doRequest(req, resp); --- 191,195 ---- * @exception IOException if we can't write to the output stream */ ! protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { doRequest(req, resp); |