[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Gavin King
gavin.king at jboss.com
Tue Oct 31 01:40:24 EST 2006
User: gavin
Date: 06/10/31 01:40:24
Modified: src/main/org/jboss/seam/core Pages.java
Log:
fix unit tests
Revision Changes Path
1.40 +6 -3 jboss-seam/src/main/org/jboss/seam/core/Pages.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Pages.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Pages.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- Pages.java 31 Oct 2006 04:38:37 -0000 1.39
+++ Pages.java 31 Oct 2006 06:40:24 -0000 1.40
@@ -60,12 +60,15 @@
Page(String viewId)
{
this.viewId = viewId;
+ if (viewId!=null)
+ {
int loc = viewId.lastIndexOf('.');
if ( loc>0 && viewId.startsWith("/") )
{
this.resourceBundleName = viewId.substring(1, loc);
}
}
+ }
final String viewId;
String description;
More information about the jboss-cvs-commits
mailing list