You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2002/09/16 21:47:00 UTC
cvs commit: xml-axis/java/src/org/apache/axis/encoding DeserializationContextImpl.java
dims 2002/09/16 12:47:00
Modified: java/src/org/apache/axis/encoding
DeserializationContextImpl.java
Log:
Removed unnecessary if conition
Revision Changes Path
1.61 +1 -2 xml-axis/java/src/org/apache/axis/encoding/DeserializationContextImpl.java
Index: DeserializationContextImpl.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/DeserializationContextImpl.java,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- DeserializationContextImpl.java 16 Sep 2002 19:34:23 -0000 1.60
+++ DeserializationContextImpl.java 16 Sep 2002 19:47:00 -0000 1.61
@@ -228,8 +228,7 @@
if (inputSource != null) {
SAXParser parser = XMLUtils.getSAXParser();
try {
- if (this instanceof LexicalHandler)
- parser.setProperty("http://xml.org/sax/properties/lexical-handler", this);
+ parser.setProperty("http://xml.org/sax/properties/lexical-handler", this);
parser.parse(inputSource, this);
// only release the parser for reuse if there wasn't an