]> source.dussan.org Git - vaadin-framework.git/commitdiff
Rename generic type parameter that hides another type parameter
authorPer-Åke Minborg <minborg@speedment.com>
Sat, 29 Oct 2016 06:09:17 +0000 (23:09 -0700)
committerHenri Sara <hesara@vaadin.com>
Sat, 5 Nov 2016 01:57:08 +0000 (03:57 +0200)
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7235

server/src/test/java/com/vaadin/tests/design/DeclarativeTestBase.java

index 5752929f973f567c92c76a3edc1cfcabe9905d1c..75f8ee8b208da8a74a2eb16a47ebd10294eaaabd 100644 (file)
@@ -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()) {