ImageMosaic Utils.createMosaic doesn't properly parse the Boolean "Absolute" 
property
-------------------------------------------------------------------------------------

                 Key: GEOT-3751
                 URL: https://jira.codehaus.org/browse/GEOT-3751
             Project: GeoTools
          Issue Type: Bug
          Components: imagemosaic plugin
    Affects Versions: 8.0-M1, 2.7.2
            Reporter: Daniele Romagnoli
            Assignee: Daniele Romagnoli
             Fix For: 2.7.3, 8.0-M2


There is code in Utils.createMosaic which parse properties from 
indexer.properties file.
When parsing a boolean "Absolute" property it does:

if (props.containsKey("Absolute"))
                                
configuration.setAbsolute(Boolean.getBoolean(props
                                                .getProperty("Absolute")));


Whilst it should to:

if (props.containsKey("Absolute"))
                                configuration.setAbsolute(Boolean.valueOf(props
                                                .getProperty("Absolute")));




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to