summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/test/java/com/vaadin/tests/design/DeclarativeTestBase.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBase.java b/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBase.java
index 5752929f97..75f8ee8b20 100644
--- a/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBase.java
+++ b/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBase.java
@@ -42,16 +42,16 @@ public abstract class DeclarativeTestBase<T extends Component>
}
};
- public class IntrospectorEqualsAsserter<T> implements EqualsAsserter<T> {
+ public class IntrospectorEqualsAsserter<C> implements EqualsAsserter<C> {
- private Class<T> c;
+ private final Class<C> c;
- public IntrospectorEqualsAsserter(Class<T> c) {
+ public IntrospectorEqualsAsserter(Class<C> c) {
this.c = c;
}
@Override
- public void assertObjectEquals(T o1, T o2) {
+ public void assertObjectEquals(C o1, C o2) {
try {
BeanInfo bi = Introspector.getBeanInfo(c);
for (PropertyDescriptor pd : bi.getPropertyDescriptors()) {