Update of /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29094/src/com/mebigfatguy/fbcontrib/detect
Modified Files:
OverlyConcreteParameter.java
Log Message:
ocp doesn't abstract to Comparable
Index: OverlyConcreteParameter.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/OverlyConcreteParameter.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- OverlyConcreteParameter.java 10 Oct 2005 07:05:01 -0000 1.20
+++ OverlyConcreteParameter.java 19 Oct 2005 04:08:48 -0000 1.21
@@ -224,6 +224,8 @@
Map<JavaClass, List<String>> definers = new HashMap<JavaClass, List<String>>();
for (JavaClass ci : cls.getAllInterfaces()) {
+ if ("java.lang.Comparable".equals(ci.getClassName()))
+ continue;
List<String> methodInfos = getPublicMethodInfos(ci);
if (methodInfos.size() > 0) {
definers.put(ci, methodInfos);
|