You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/03/14 16:18:23 UTC
svn commit: r754460 -
/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ToStringBuilderTest.java
Author: sebb
Date: Sat Mar 14 15:18:22 2009
New Revision: 754460
URL: http://svn.apache.org/viewvc?rev=754460&view=rev
Log:
Oops - accidentally removed some lines in r753655. Replaced.
Modified:
commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ToStringBuilderTest.java
Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ToStringBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ToStringBuilderTest.java?rev=754460&r1=754459&r2=754460&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ToStringBuilderTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ToStringBuilderTest.java Sat Mar 14 15:18:22 2009
@@ -360,10 +360,16 @@
static class ReflectionTestFixtureA {
@SuppressWarnings("unused")
+ private char a='a';
+ @SuppressWarnings("unused")
private transient char transientA='t';
}
static class ReflectionTestFixtureB extends ReflectionTestFixtureA {
+ @SuppressWarnings("unused")
+ private char b='b';
+ @SuppressWarnings("unused")
+ private transient char transientB='t';
}
public void testInnerClassReflection() {
@@ -482,7 +488,11 @@
}
private static class SelfInstanceVarReflectionTestFixture {
+ @SuppressWarnings("unused")
+ private SelfInstanceVarReflectionTestFixture typeIsSelf;
+
public SelfInstanceVarReflectionTestFixture() {
+ this.typeIsSelf = this;
}
@Override
@@ -492,9 +502,12 @@
}
private static class SelfInstanceTwoVarsReflectionTestFixture {
+ @SuppressWarnings("unused")
+ private SelfInstanceTwoVarsReflectionTestFixture typeIsSelf;
private String otherType = "The Other Type";
public SelfInstanceTwoVarsReflectionTestFixture() {
+ this.typeIsSelf = this;
}
public String getOtherType(){