Minor style cleanup of test-dump/Main.java.
To be more consistent with the style used elsewhere in ahat.
Test: m ahat-test
Change-Id: I6108dba57924b3a97b6eb8bc584aed9ab2ebb42b
diff --git a/tools/ahat/test-dump/Main.java b/tools/ahat/test-dump/Main.java
index cc44260..333d28c 100644
--- a/tools/ahat/test-dump/Main.java
+++ b/tools/ahat/test-dump/Main.java
@@ -115,10 +115,10 @@
}
DumpedStuff(boolean baseline) {
- int N = baseline ? 400000 : 1000000;
- bigArray = new byte[N];
- for (int i = 0; i < N; i++) {
- bigArray[i] = (byte)((i*i) & 0xFF);
+ int n = baseline ? 400000 : 1000000;
+ bigArray = new byte[n];
+ for (int i = 0; i < n; i++) {
+ bigArray[i] = (byte)((i * i) & 0xFF);
}
// 0x12345, 50000, and 0xABCDABCD are arbitrary values.
@@ -138,7 +138,7 @@
modifiedObject.modifiedRefField = baseline ? "A1" : "A2";
modifiedObject.unmodifiedRefField = "B";
modifiedStaticField = baseline ? "C1" : "C2";
- modifiedArray = baseline ? new int[]{0,1,2,3} : new int[]{3,1,2,0};
+ modifiedArray = baseline ? new int[]{0, 1, 2, 3} : new int[]{3, 1, 2, 0};
allocateObjectAtKnownSite1();