summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer-Åke Minborg <minborg@speedment.com>2016-10-28 23:09:17 -0700
committerHenri Sara <hesara@vaadin.com>2016-11-05 03:57:08 +0200
commit3f30e5bde97007f8cb7023a651c097da726c2bae (patch)
tree7517deed06a2d68f67e88f2021efa9b489fa13ec
parente6d654890ebbe6c2069a456fd77d0ac75425ee7e (diff)
downloadvaadin-framework-3f30e5bde97007f8cb7023a651c097da726c2bae.tar.gz
vaadin-framework-3f30e5bde97007f8cb7023a651c097da726c2bae.zip
Rename generic type parameter that hides another type parameter
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7235
-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()) {