Re: svn commit: r682228 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r682228 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

Jacques Le Roux
Administrator
Ha, I see, cool

Jacques

From: <[hidden email]>

> Author: doogie
> Date: Sun Aug  3 15:29:53 2008
> New Revision: 682228
>
> URL: http://svn.apache.org/viewvc?rev=682228&view=rev
> Log:
> Fix broken conversion to enhanced for loop; previous code started
> checking at index 1, not index 0.
>
> Modified:
>    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
>
> Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=682228&r1=682227&r2=682228&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
> +++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Sun Aug  3 15:29:53 2008
> @@ -510,6 +510,7 @@
>         if (pathInfo == null) {
>             return null;
>         }
> +        pathInfo = pathInfo.subList(1, pathInfo.size());
>
>         String nextPage = null;
>         for (String element: pathInfo) {
>
>