[Pixelle-commit] SF.net SVN: pixelle:[301] trunk/pixelle/src/com/mebigfatguy/pixelle/eval/ PixelleE
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-09-05 21:45:14
|
Revision: 301
http://pixelle.svn.sourceforge.net/pixelle/?rev=301&view=rev
Author: dbrosius
Date: 2009-09-05 21:45:03 +0000 (Sat, 05 Sep 2009)
Log Message:
-----------
unnecessary cast
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEval3ByteBGR.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEval3ByteBGR.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEval3ByteBGR.java 2009-09-05 21:44:13 UTC (rev 300)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEval3ByteBGR.java 2009-09-05 21:45:03 UTC (rev 301)
@@ -31,17 +31,17 @@
@Override
public double getBlueValue(int x, int y) {
- return (double)buffer.getElem(y * width * 3 + x * 3);
+ return buffer.getElem(y * width * 3 + x * 3);
}
@Override
public double getGreenValue(int x, int y) {
- return (double)buffer.getElem(y * width * 3 + x * 3 + 1);
+ return buffer.getElem(y * width * 3 + x * 3 + 1);
}
@Override
public double getRedValue(int x, int y) {
- return (double)buffer.getElem(y * width * 3 + x * 3 + 2);
+ return buffer.getElem(y * width * 3 + x * 3 + 2);
}
@Override
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|