[patch] suspect transferable code
----------------------------------
Key: TIKA-600
URL: https://issues.apache.org/jira/browse/TIKA-600
Project: Tika
Issue Type: Bug
Components: gui
Affects Versions: 0.8
Reporter: Dave Brosius
Priority: Minor
Fix For: 0.9
Attachments: fix_npe.diff
the importData code has suspect code, where an if/else branch handles the same
condition in two branches (differently)
else if (transferable.isDataFlavorSupported(urlListFlavor)) {
...
else if (transferable.isDataFlavorSupported(uriListFlavor)) {
which caused the NPE... Patch fixes the npe, but that is just a patch. the real
fix is to fix the if/else code.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira