logo       

roller/src/org/roller/presentation RollerRequest.java,1.64,1.65: msg#00076

java.roller.cvs

Subject: roller/src/org/roller/presentation RollerRequest.java,1.64,1.65

Update of /cvsroot/roller/roller/src/org/roller/presentation
In directory sc8-pr-cvs1:/tmp/cvs-serv26811/src/org/roller/presentation

Modified Files:
RollerRequest.java
Log Message:
wrap whole doFilter method in try-finally

Index: RollerRequest.java
===================================================================
RCS file:
/cvsroot/roller/roller/src/org/roller/presentation/RollerRequest.java,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** RollerRequest.java 16 Sep 2003 02:38:41 -0000 1.64
--- RollerRequest.java 17 Sep 2003 01:41:38 -0000 1.65
***************
*** 253,264 ****

// if we somehow don't have a date, make it today
! if (mDate == null) mDate = new Date();

// no Page found? Make it the default page (that is
// what a default is for, after all).
! if (mPage == null)
! {
! mPage = userMgr.retrievePage( website.getDefaultPageId()
);
! }
}
}
--- 253,264 ----

// if we somehow don't have a date, make it today
! //if (mDate == null) mDate = new Date();

// no Page found? Make it the default page (that is
// what a default is for, after all).
! //if (mPage == null)
! //{
! //mPage = userMgr.retrievePage(
website.getDefaultPageId() );
! //}
}
}
***************
*** 268,272 ****
}

! if ( mUser==null /* || mDate==null || mPage==null */ )
{
String msg = "";
--- 268,272 ----
}

! if ( mUser==null || mDate==null || mPage==null )
{
String msg = "";




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise