Permalink
Browse files

Format array declarations and population loop

No functional change
  • Loading branch information...
1 parent 1e36138 commit 95422d3fe62dad4915fb8d24d4a4312bb23cf95e @kevinsawicki kevinsawicki committed Feb 13, 2012
@@ -65,9 +65,9 @@ public AirTrafficResourceProvider(final Resources resources) {
options.inPreferredConfig = ARGB_8888;
// Load all the pin and ring images
- int[] pinDrawables = new int[]{pin0, pin1, pin2, pin3, pin4, pin5, pin6, pin7, pin8, pin9};
- int[] ringDrawables = new int[]{ring0, ring1, ring2, ring3, ring4, ring5, ring6, ring7, ring8, ring9};
- for (int colourIndex=0; colourIndex<10; ++colourIndex) {
+ int[] pinDrawables = new int[] { pin0, pin1, pin2, pin3, pin4, pin5, pin6, pin7, pin8, pin9 };
+ int[] ringDrawables = new int[] { ring0, ring1, ring2, ring3, ring4, ring5, ring6, ring7, ring8, ring9 };
+ for (int colourIndex = 0; colourIndex < 10; ++colourIndex) {
pins[colourIndex] = BitmapFactory.decodeResource(resources, pinDrawables[colourIndex], options);
rings[colourIndex] = BitmapFactory.decodeResource(resources, ringDrawables[colourIndex], options);
}

0 comments on commit 95422d3

Please sign in to comment.