These two "Do Nothing" case statements now flow into the default warning.
The second gives me lots of warnings.
> xml-xindice/java/src/org/apache/xindice/xml/XMLCompressedInput.java
> @@ -195,6 +208,10 @@
> case Signatures.NoContent:
> // Do Nothing
>
> + default:
> + if (log.isWarnEnabled()) {
> + log.warn("invalid size : "
> + sizeType);
> + }
> }
> return 0;
> }
> @@ -226,6 +243,10 @@
> case Signatures.NoContent:
> // Do Nothing
>
> + default:
> + if (log.isWarnEnabled()) {
> + log.warn("invalid signature
> type : " + countType);
> + }
> }
> return 0;
> }
Stephen.
--
Datacute - Acute Information Revelation Tools
http://www.datacute.co.nz/