[Fb-contrib-commit] fb-contrib/src/com/mebigfatguy/fbcontrib/detect OverlyConcreteParameter.java,1.2
Brought to you by:
dbrosius
|
From: Dave B. <dbr...@us...> - 2005-10-19 04:08:56
|
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); |