Revision 11215 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/DotDensity.java

View differences:

DotDensity.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.2  2007-03-09 11:25:00  jaume
46
* Revision 1.3  2007-04-17 06:53:46  bsanchez
47
* - Corregido fallo de Double.MIN_VALUE por Double.NEGATIVE_INFINITY comentado por Victor Olaya.
48
*
49
* Revision 1.2  2007/03/09 11:25:00  jaume
47 50
* Advanced symbology (start committing)
48 51
*
49 52
* Revision 1.1.2.4  2007/02/21 07:35:14  jaume
......
179 182

  
180 183
                DataSource recordset = sds.getDataSourceFactory().executeSQL(sql, DataSourceFactory.AUTOMATIC_OPENING );
181 184
                // TODO implement MAX() and MIN() functions in GDBMS!!!!!
182
                max = Double.MIN_VALUE;
185
                max = Double.NEGATIVE_INFINITY;
183 186
                min = Double.MAX_VALUE;
184 187
                for (int i = 0; i < sds.getRowCount(); i++) {
185 188
                    double value = ((NumericValue) recordset.getFieldValue(i,0)).doubleValue();

Also available in: Unified diff