Revision 1419 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/grid/render/ImageDrawerImpl.java
ImageDrawerImpl.java | ||
---|---|---|
149 | 149 |
* @throws ProcessInterruptedException |
150 | 150 |
*/ |
151 | 151 |
private void drawByte(BufferedImage image, byte[] data, boolean supersampling) throws ProcessInterruptedException { |
152 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().toString());
|
|
152 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().getId() + "");
|
|
153 | 153 |
|
154 | 154 |
if (supersampling) { |
155 | 155 |
int[] r = new int[height]; |
... | ... | |
214 | 214 |
byte[] data, |
215 | 215 |
boolean supersampling, |
216 | 216 |
Transparency t) throws ProcessInterruptedException { |
217 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().toString());
|
|
217 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().getId() + "");
|
|
218 | 218 |
int value = 0; |
219 | 219 |
// try { |
220 | 220 |
if (supersampling) { |
Also available in: Unified diff