Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
3 6 0 0

Files

Class Bugs
fr.paris.lutece.plugins.document.modules.solr.business.SolrDocumentContentService 1
fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer 5

fr.paris.lutece.plugins.document.modules.solr.business.SolrDocumentContentService

Bug Category Details Line Priority
Useless object stored in variable mapXslParams of method fr.paris.lutece.plugins.document.modules.solr.business.SolrDocumentContentService.buildPage(HttpServletRequest, String, String, String, int) STYLE UC_USELESS_OBJECT 249 Medium

fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getContentToIndex(Document, SolrItem) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 368 High
Primitive boxed just to call toString in fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getItem(Portlet, Document) PERFORMANCE DM_BOXED_PRIMITIVE_TOSTRING 259 High
Found reliance on default encoding in fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getDocument(Document, String, String, String): String.getBytes() I18N DM_DEFAULT_ENCODING 547 High
Found reliance on default encoding in fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getItem(Portlet, Document): String.getBytes() I18N DM_DEFAULT_ENCODING 311 High
Possible null pointer dereference of portlet in fr.paris.lutece.plugins.document.modules.solr.indexer.SolrDocIndexer.getItem(Portlet, Document) CORRECTNESS NP_NULL_ON_SOME_PATH 277 Medium