File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/test/java/org/apache/commons/io Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4545 */
4646public class MessageDigestInputStreamTest {
4747
48- static byte [] generateRandomByteStream (final int pSize ) {
49- final byte [] buffer = new byte [pSize ];
48+ static byte [] generateRandomByteStream (final int size ) {
49+ final byte [] buffer = new byte [size ];
5050 final Random rnd = new Random ();
5151 rnd .nextBytes (buffer );
5252 return buffer ;
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ public class MoreComplexObject implements Serializable {
3434 private final Random random = new Random (System .currentTimeMillis ());
3535 private final String string = UUID .randomUUID ().toString ();
3636 private final Integer integer = random .nextInt ();
37- private final int pInt = random .nextInt ();
38- private final long pLong = random .nextLong ();
37+ private final int nextInt = random .nextInt ();
38+ private final long nextLong = random .nextLong ();
3939 private final Integer [] intArray = { random .nextInt (), random .nextInt () };
4040 private final List <Boolean > boolList = new ArrayList <>();
4141
@@ -47,6 +47,6 @@ public class MoreComplexObject implements Serializable {
4747
4848 @ Override
4949 public String toString () {
50- return string + integer + pInt + pLong + Arrays .asList (intArray ) + boolList ;
50+ return string + integer + nextInt + nextLong + Arrays .asList (intArray ) + boolList ;
5151 }
5252}
You can’t perform that action at this time.
0 commit comments