peterreilly    2005/06/29 04:16:46

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional
                        IContract.java
  Log:
  checkstyle - line length + javadoc + redundent final
  
  Revision  Changes    Path
  1.26      +6 -4      
ant/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java
  
  Index: IContract.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- IContract.java    18 Feb 2005 23:27:59 -0000      1.25
  +++ IContract.java    29 Jun 2005 11:16:46 -0000      1.26
  @@ -759,8 +759,8 @@
                       if (targetPrinter != null) {
                           targetPrinter.println(srcFile.getAbsolutePath());
                       }
  -                    File classFile
  -                        = new File(buildDir, files[i].substring(0, 
files[i].indexOf(".java")) + ".class");
  +                    File classFile = new File(
  +                        buildDir, files[i].substring(0, 
files[i].indexOf(".java")) + ".class");
   
                       if (srcFile.lastModified() > now) {
                           log("Warning: file modified in the future: "
  @@ -820,8 +820,9 @@
       /**
        * Creates the -m option based on the values of controlFile, pre, post 
and
        * invariant.
  +     * @return the string containing the -m option.
        */
  -    private final String directiveString() {
  +    private String directiveString() {
           StringBuffer sb = new StringBuffer();
           boolean comma = false;
   
  @@ -875,7 +876,8 @@
   
   
           public void messageLogged(BuildEvent event) {
  -            if ("java.lang.NoClassDefFoundError: 
com/reliablesystems/iContract/Tool".equals(event.getMessage())) {
  +            if ("java.lang.NoClassDefFoundError: 
com/reliablesystems/iContract/Tool"
  +                .equals(event.getMessage())) {
                   iContractMissing = true;
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to