Oops - accidentally removed some lines in r753655. Replaced.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754460 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7585da946c
commit
3b03f6a0ad
|
@ -359,11 +359,17 @@ public class ToStringBuilderTest extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
static class ReflectionTestFixtureA {
|
static class ReflectionTestFixtureA {
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
private char a='a';
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private transient char transientA='t';
|
private transient char transientA='t';
|
||||||
}
|
}
|
||||||
|
|
||||||
static class ReflectionTestFixtureB extends ReflectionTestFixtureA {
|
static class ReflectionTestFixtureB extends ReflectionTestFixtureA {
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
private char b='b';
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
private transient char transientB='t';
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testInnerClassReflection() {
|
public void testInnerClassReflection() {
|
||||||
|
@ -482,7 +488,11 @@ public class ToStringBuilderTest extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class SelfInstanceVarReflectionTestFixture {
|
private static class SelfInstanceVarReflectionTestFixture {
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
private SelfInstanceVarReflectionTestFixture typeIsSelf;
|
||||||
|
|
||||||
public SelfInstanceVarReflectionTestFixture() {
|
public SelfInstanceVarReflectionTestFixture() {
|
||||||
|
this.typeIsSelf = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -492,9 +502,12 @@ public class ToStringBuilderTest extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class SelfInstanceTwoVarsReflectionTestFixture {
|
private static class SelfInstanceTwoVarsReflectionTestFixture {
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
private SelfInstanceTwoVarsReflectionTestFixture typeIsSelf;
|
||||||
private String otherType = "The Other Type";
|
private String otherType = "The Other Type";
|
||||||
|
|
||||||
public SelfInstanceTwoVarsReflectionTestFixture() {
|
public SelfInstanceTwoVarsReflectionTestFixture() {
|
||||||
|
this.typeIsSelf = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getOtherType(){
|
public String getOtherType(){
|
||||||
|
|
Loading…
Reference in New Issue