You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jv...@apache.org on 2002/09/13 02:16:53 UTC
cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl StaticTagScript.java
jvanzyl 2002/09/12 17:16:53
Modified: jelly/src/java/org/apache/commons/jelly/impl
StaticTagScript.java
Log:
o Checking to make sure that we have a StaticTag before attempting to
cast.
Revision Changes Path
1.8 +4 -1 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl/StaticTagScript.java
Index: StaticTagScript.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl/StaticTagScript.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- StaticTagScript.java 19 Aug 2002 21:37:53 -0000 1.7
+++ StaticTagScript.java 13 Sep 2002 00:16:53 -0000 1.8
@@ -110,7 +110,10 @@
Tag tag = getTag();
// lets see if we have a dynamic tag
- tag = findDynamicTag(context, (StaticTag) tag);
+ if (tag instanceof StaticTag) {
+ tag = findDynamicTag(context, (StaticTag) tag);
+ }
+
setTag(tag);
try {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>