You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ad...@apache.org on 2003/09/27 18:42:29 UTC
cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/web JSPPropertyGroup.java
adc 2003/09/27 09:42:29
Modified: modules/core/src/java/org/apache/geronimo/deployment/model/web
JSPPropertyGroup.java
Log:
The cardinality of URLPattern was incorrect.
Revision Changes Path
1.2 +12 -4 incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/web/JSPPropertyGroup.java
Index: JSPPropertyGroup.java
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/web/JSPPropertyGroup.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JSPPropertyGroup.java 7 Sep 2003 23:20:06 -0000 1.1
+++ JSPPropertyGroup.java 27 Sep 2003 16:42:29 -0000 1.2
@@ -63,7 +63,7 @@
* @version $Revision$
*/
public class JSPPropertyGroup extends Displayable {
- private String urlPattern;
+ private String[] urlPattern = new String[0];
private Boolean elIgnored;
private String pageEncoding;
private Boolean scriptingInvalid;
@@ -135,11 +135,19 @@
this.scriptingInvalid = scriptingInvalid;
}
- public String getURLPattern() {
+ public String[] getURLPattern() {
return urlPattern;
}
- public void setURLPattern(String urlPattern) {
+ public String getURLPattern(int i) {
+ return urlPattern[i];
+ }
+
+ public void setURLPattern(String[] urlPattern) {
this.urlPattern = urlPattern;
+ }
+
+ public void setURLPattern(int i, String urlPattern) {
+ this.urlPattern[i] = urlPattern;
}
}