donaldp 2002/07/06 23:15:20
Modified: xmlbundle/src/java/org/apache/excalibur/xmlizer/impl
XMLizerImpl.java
Log:
Fix up problem caused by excess final specifier
Revision Changes Path
1.3 +4 -3
jakarta-avalon-excalibur/xmlbundle/src/java/org/apache/excalibur/xmlizer/impl/XMLizerImpl.java
Index: XMLizerImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/xmlbundle/src/java/org/apache/excalibur/xmlizer/impl/XMLizerImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLizerImpl.java 7 Jul 2002 06:04:00 -0000 1.2
+++ XMLizerImpl.java 7 Jul 2002 06:15:20 -0000 1.3
@@ -50,12 +50,12 @@
* {@link org.apache.avalon.excalibur.xml.XMLConsumer} that accepts such
* events or directly implements the LexicalHandler interface!
* @param stream the data
- * @param mimeType the mime-type for the data
+ * @param specifiedMimeType the mime-type for the data
* @param systemID the URI defining the data (this is optional and can be null)
* @throws ComponentException if no suitable converter is found
*/
public void toSAX( final InputStream stream,
- final String mimeType,
+ final String specifiedMimeType,
final String systemID,
final ContentHandler handler )
throws SAXException, IOException, ComponentException
@@ -72,6 +72,7 @@
throw new ComponentException( message );
}
+ String mimeType = specifiedMimeType;
if( null == mimeType )
{
if( getLogger().isDebugEnabled() )
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>