You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2007/12/08 15:30:45 UTC
[jira] Updated: (TIKA-107) Remove use of assertions for argument
checking
[ https://issues.apache.org/jira/browse/TIKA-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niall Pemberton updated TIKA-107:
---------------------------------
Attachment: TIKA-107-remove-assert-v1.patch
> 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.