mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-08 19:14:52 +00:00
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 void testReflectionHierarchy() {
|
||||
}
|
||||
|
||||
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 @@ public String toString() {
|
||||
}
|
||||
|
||||
private static class SelfInstanceVarReflectionTestFixture {
|
||||
@SuppressWarnings("unused")
|
||||
private SelfInstanceVarReflectionTestFixture typeIsSelf;
|
||||
|
||||
public SelfInstanceVarReflectionTestFixture() {
|
||||
this.typeIsSelf = this;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -492,9 +502,12 @@ public String toString() {
|
||||
}
|
||||
|
||||
private static class SelfInstanceTwoVarsReflectionTestFixture {
|
||||
@SuppressWarnings("unused")
|
||||
private SelfInstanceTwoVarsReflectionTestFixture typeIsSelf;
|
||||
private String otherType = "The Other Type";
|
||||
|
||||
public SelfInstanceTwoVarsReflectionTestFixture() {
|
||||
this.typeIsSelf = this;
|
||||
}
|
||||
|
||||
public String getOtherType(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user