Update of /cvsroot/clirr/clirr/src/java/net/sf/clirr/checks
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12977/checks
Modified Files:
MethodSetCheck.java
Log Message:
fixed checkstyle errors
Index: MethodSetCheck.java
===================================================================
RCS file: /cvsroot/clirr/clirr/src/java/net/sf/clirr/checks/MethodSetCheck.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- MethodSetCheck.java 8 Jun 2004 09:10:00 -0000 1.7
+++ MethodSetCheck.java 13 Jun 2004 11:00:59 -0000 1.8
@@ -357,7 +357,7 @@
{
boolean bIsDeprecated = isDeprecated(baselineMethod);
boolean cIsDeprecated = isDeprecated(currentMethod);
-
+
if (bIsDeprecated && !cIsDeprecated)
{
fireDiff(
@@ -434,14 +434,14 @@
private boolean isDeprecated(Method method)
{
Attribute[] attrs = method.getAttributes();
- for(int i=0; i<attrs.length; ++i)
+ for (int i = 0; i < attrs.length; ++i)
{
if (attrs[i] instanceof org.apache.bcel.classfile.Deprecated)
{
return true;
}
}
-
+
return false;
}
}
|