Skip to content

Commit

Permalink
121: More style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oruam85 committed Jan 21, 2015
1 parent 1c908ca commit c6f64c4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/test/java/com/jcabi/aspects/aj/MnemosTest.java
Expand Up @@ -43,7 +43,7 @@ public final class MnemosTest {
/**
* The representation of a empty array.
*/
private final String emptyarray = "[]";
private static final transient String EMPTY_ARRAY = "[]";

/**
* Mnemos can build a string from an object.
Expand All @@ -57,7 +57,7 @@ public void buildsTextFromObject() throws Exception {
new Object[] {"\u20ac-plain", "'\u20ac-plain'"},
new Object[] {"test ", "'test '"},
new Object[] {null, "NULL"},
new Object[] {new String[0], this.emptyarray},
new Object[] {new String[0], this.EMPTY_ARRAY},
new Object[] {new String[] {"abc", "x"}, "['abc', 'x']"},
new Object[] {new Object[] {null, 5}, "[NULL, 5]"},
};
Expand Down Expand Up @@ -98,7 +98,7 @@ public String toString() {
@Test
public void buildsTextFromIntArray() throws Exception {
final Object[][] pairs = new Object[][] {
new Object[] {new int[0], this.emptyarray},
new Object[] {new int[0], this.EMPTY_ARRAY},
new Object[] {new int[] {1}, "[1]"},
new Object[] {new int[] {1, 2, 3}, "[1, 2, 3]"},
};
Expand All @@ -117,7 +117,7 @@ public void buildsTextFromIntArray() throws Exception {
@Test
public void buildsTextFromLongArray() throws Exception {
final Object[][] pairs = new Object[][] {
new Object[] {new long[0], this.emptyarray},
new Object[] {new long[0], this.EMPTY_ARRAY},
new Object[] {new long[] {2L}, "[2]"},
new Object[] {new long[] {2L, 3L, 4L}, "[2, 3, 4]"},
};
Expand All @@ -136,7 +136,7 @@ public void buildsTextFromLongArray() throws Exception {
@Test
public void buildsTextFromFloatArray() throws Exception {
final Object[][] pairs = new Object[][] {
new Object[] {new float[0], this.emptyarray},
new Object[] {new float[0], this.EMPTY_ARRAY},
new Object[] {new float[] {1.01f}, "[1.01]"},
new Object[] {
new float[] {1.01f, 2.02f, 3.03f},
Expand All @@ -158,7 +158,7 @@ public void buildsTextFromFloatArray() throws Exception {
@Test
public void buildsTextFromDoubleArray() throws Exception {
final Object[][] pairs = new Object[][] {
new Object[] {new double[0], this.emptyarray},
new Object[] {new double[0], this.EMPTY_ARRAY},
new Object[] {new double[] {2.01}, "[2.01]"},
new Object[] {
new double[] {2.01, 2.02, 2.03},
Expand All @@ -180,7 +180,7 @@ public void buildsTextFromDoubleArray() throws Exception {
@Test
public void buildsTextFromCharArray() throws Exception {
final Object[][] pairs = new Object[][] {
new Object[] {new char[0], this.emptyarray},
new Object[] {new char[0], this.EMPTY_ARRAY},
new Object[] {new char[] {'a'}, "[a]"},
new Object[] {new char[] {'a', 'b', 'c'}, "[a, b, c]"},
};
Expand All @@ -199,7 +199,7 @@ public void buildsTextFromCharArray() throws Exception {
@Test
public void buildsTextFromBooleanArray() throws Exception {
final Object[][] pairs = new Object[][] {
new Object[] {new boolean[0], this.emptyarray},
new Object[] {new boolean[0], this.EMPTY_ARRAY},
new Object[] {new boolean[] {true}, "[true]"},
new Object[] {
new boolean[] {true, false, false},
Expand Down

0 comments on commit c6f64c4

Please sign in to comment.