From: <mu...@us...> - 2009-03-27 16:25:47
|
Revision: 1919 http://jfreechart.svn.sourceforge.net/jfreechart/?rev=1919&view=rev Author: mungady Date: 2009-03-27 16:25:18 +0000 (Fri, 27 Mar 2009) Log Message: ----------- 2009-03-27 David Gilbert <dav...@ob...> * source/org/jfree/renderer/xy/YIntervalRenderer.java (findRangeBounds): Use new inherited method. Modified Paths: -------------- branches/jfreechart-1.0.x-branch/ChangeLog branches/jfreechart-1.0.x-branch/source/org/jfree/chart/renderer/xy/YIntervalRenderer.java Modified: branches/jfreechart-1.0.x-branch/ChangeLog =================================================================== --- branches/jfreechart-1.0.x-branch/ChangeLog 2009-03-27 16:24:00 UTC (rev 1918) +++ branches/jfreechart-1.0.x-branch/ChangeLog 2009-03-27 16:25:18 UTC (rev 1919) @@ -1,5 +1,10 @@ 2009-03-27 David Gilbert <dav...@ob...> + * source/org/jfree/renderer/xy/YIntervalRenderer.java + (findRangeBounds): Use new inherited method. + +2009-03-27 David Gilbert <dav...@ob...> + * source/org/jfree/renderer/RendererUtilities.java (findLiveItemsLowerBound): Fixed results for unsorted dataset, (findLiveItemsUpperBound): Likewise, Modified: branches/jfreechart-1.0.x-branch/source/org/jfree/chart/renderer/xy/YIntervalRenderer.java =================================================================== --- branches/jfreechart-1.0.x-branch/source/org/jfree/chart/renderer/xy/YIntervalRenderer.java 2009-03-27 16:24:00 UTC (rev 1918) +++ branches/jfreechart-1.0.x-branch/source/org/jfree/chart/renderer/xy/YIntervalRenderer.java 2009-03-27 16:25:18 UTC (rev 1919) @@ -2,7 +2,7 @@ * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * - * (C) Copyright 2000-2008, by Object Refinery Limited and Contributors. + * (C) Copyright 2000-2009, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/index.html * @@ -27,7 +27,7 @@ * ---------------------- * YIntervalRenderer.java * ---------------------- - * (C) Copyright 2002-2008, by Object Refinery Limited. + * (C) Copyright 2002-2009, by Object Refinery Limited. * * Original Author: David Gilbert (for Object Refinery Limited); * Contributor(s): -; @@ -44,6 +44,7 @@ * 11-Nov-2004 : Now uses ShapeUtilities to translate shapes (DG); * 11-Apr-2008 : New override for findRangeBounds() (DG); * 26-May-2008 : Added item label support (DG); + * 27-Mar-2009 : Updated findRangeBounds() (DG); * */ @@ -152,12 +153,7 @@ * or empty). */ public Range findRangeBounds(XYDataset dataset) { - if (dataset != null) { - return DatasetUtilities.findRangeBounds(dataset, true); - } - else { - return null; - } + return findRangeBounds(dataset, true); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |