Revision 11065 trunk/libraries/libRaster/src/org/gvsig/raster/dataset/RasterDataset.java

View differences:

RasterDataset.java
814 814
			histogram = new DatasetHistogram(this);
815 815
		return histogram;
816 816
	}
817
		
817
	
818
	public void resetPercent() {
819
		if (histogram != null)
820
			histogram.resetPercent();
821
	}
818 822
	public int getPercent() {
819
		if(histogram != null)
823
		if (histogram != null)
820 824
			return histogram.getPercent();
821 825
		return 0;
822 826
	}

Also available in: Unified diff