You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by pi...@apache.org on 2001/03/05 19:18:29 UTC
cvs commit: jakarta-taglibs/jndi/src/org/apache/taglibs/jndi UseContextTag.java
pierred 01/03/05 10:18:28
Modified: jndi/src/org/apache/taglibs/jndi UseContextTag.java
Log:
bug fix: != should be ==
[Haven't heard back from Danno. So going ahead and committing
the fix.]
Submitted by: Torgeir Veimo <to...@vertech.no>
Revision Changes Path
1.2 +5 -5 jakarta-taglibs/jndi/src/org/apache/taglibs/jndi/UseContextTag.java
Index: UseContextTag.java
===================================================================
RCS file: /home/cvs/jakarta-taglibs/jndi/src/org/apache/taglibs/jndi/UseContextTag.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- UseContextTag.java 2000/12/12 15:34:34 1.1
+++ UseContextTag.java 2001/03/05 18:18:25 1.2
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-taglibs/jndi/src/org/apache/taglibs/jndi/UseContextTag.java,v 1.1 2000/12/12 15:34:34 shemnon Exp $
- * $Revision: 1.1 $
- * $Date: 2000/12/12 15:34:34 $
+ * $Header: /home/cvs/jakarta-taglibs/jndi/src/org/apache/taglibs/jndi/UseContextTag.java,v 1.2 2001/03/05 18:18:25 pierred Exp $
+ * $Revision: 1.2 $
+ * $Date: 2001/03/05 18:18:25 $
*
* ====================================================================
*
@@ -72,7 +72,7 @@
/**
*
* @author Danno Ferrin <sh...@earthlink.net>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class UseContextTag extends BodyTagSupport {
@@ -399,7 +399,7 @@
o = null;
}
}
- if (o != null) {
+ if (o == null) {
pullInSupplimentalAttributes();
o = getObjectToExport();
}