Yingmin-Li / lire

Automatically exported from code.google.com/p/lire
Other
0 stars 0 forks source link

Patch to reduce warnings and Mavenizing the project #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This patch includes the fixes to the following issues:

* fixes warnings on used code
* fixes dead code warning
* fixes an obvious null pointer exception in GenericDocumentBuilder
* adds type-safety by removing raw-type usage
* fixed resource leak by closing all streams
* fixed lucene IndexReader.open() deprecation warnings

Hope this helps.

Original issue reported on code.google.com by sandy....@gmail.com on 26 Jun 2013 at 8:38

Attachments:

GoogleCodeExporter commented 8 years ago
Adding another diff from the original repo that contains the above fixes as 
well as the following:

* fixed all other Lucene deprecation warnings
* fixed dead code
* fixed warnings related to local variable use

Hope this helps.

Original comment by sandy....@gmail.com on 26 Jun 2013 at 10:35

Attachments:

GoogleCodeExporter commented 8 years ago
I'll handle this one.

Original comment by mathias....@gmail.com on 11 Jul 2013 at 9:31

GoogleCodeExporter commented 8 years ago

Original comment by mathias....@gmail.com on 11 Jul 2013 at 9:32