code style cleanup

This commit is contained in:
Connor Tumbleson 2017-06-08 16:51:28 -04:00
parent b6751f893c
commit 4a3e24666e

View File

@ -74,13 +74,11 @@ public class Res9patchStreamDecoder implements ResStreamDecoder {
drawVLine(im2, 0, yDivs[i] + 1, yDivs[i + 1]);
}
// Some images additionally use Optical Bounds
// https://developer.android.com/about/versions/android-4.3.html#OpticalBounds
try {
OpticalInset oi = getOpticalInset(data);
//As far as I know, only the length of the red lines are interesting
//not their positions
//So set them up in the corners
//TODO: Check we haven't already filled it with NP_COLOR?
for (int i = 0; i < oi.layoutBoundsLeft; i++) {
int x = 1 + i;
im2.setRGB(x, h + 1, OI_COLOR);