Remove use of assertions for argument checking
----------------------------------------------

                 Key: TIKA-107
                 URL: https://issues.apache.org/jira/browse/TIKA-107
             Project: Tika
          Issue Type: Bug
          Components: mime
            Reporter: Niall Pemberton
         Attachments: TIKA-107-remove-assert-v1.patch

Using assertions for argument checking is a bad practice since assertions can 
be enabled/disabled and by default are disabled.

See http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html#usage

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to