logo       

roller/src/org/roller/presentation RollerRequest.java,1.61,1.62: msg#00042

java.roller.cvs

Subject: roller/src/org/roller/presentation RollerRequest.java,1.61,1.62

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

Modified Files:
RollerRequest.java
Log Message:
Fixes for RollerAtomServlet - nearly there.

Index: RollerRequest.java
===================================================================
RCS file:
/cvsroot/roller/roller/src/org/roller/presentation/RollerRequest.java,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** RollerRequest.java 22 Aug 2003 21:19:34 -0000 1.61
--- RollerRequest.java 4 Sep 2003 18:16:47 -0000 1.62
***************
*** 76,82 ****
//private WebsiteData mWebsite;
private boolean mIsDateSpecified = false;
!
! private String mRequestURL;
!
private static ThreadLocal mRollerRequestTLS = new ThreadLocal();

--- 76,80 ----
//private WebsiteData mWebsite;
private boolean mIsDateSpecified = false;
!
private static ThreadLocal mRollerRequestTLS = new ThreadLocal();

***************
*** 270,279 ****
}

! if ( mUser==null || mDate==null || mPage==null )
{
! String msg = null;
! if (mUser == null) msg = "No User Found.";
! if (mDate == null) msg = "No Date Found.";
! if (mPage == null) msg = "No Page Found.";
throw new RollerException("Invalid PathInfo: " + msg);
}
--- 268,277 ----
}

! if ( mUser==null /* || mDate==null || mPage==null */ )
{
! String msg = "";
! if (mUser == null) msg += "No User Found. ";
! if (mDate == null) msg += "No Date Found. ";
! if (mPage == null) msg += "No Page Found. ";
throw new RollerException("Invalid PathInfo: " + 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