ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/repository ScheduledUpdatePolicy.java
Date Fri, 21 Jan 2005 14:32:13 GMT
peterreilly    2005/01/21 06:32:13

  Modified:    src/main/org/apache/tools/ant/taskdefs/repository
                        ScheduledUpdatePolicy.java
  Log:
  checkstyle: 100 char line limit
  
  Revision  Changes    Path
  1.4       +12 -7     ant/src/main/org/apache/tools/ant/taskdefs/repository/ScheduledUpdatePolicy.java
  
  Index: ScheduledUpdatePolicy.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/repository/ScheduledUpdatePolicy.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ScheduledUpdatePolicy.java	22 Nov 2004 09:23:35 -0000	1.3
  +++ ScheduledUpdatePolicy.java	21 Jan 2005 14:32:13 -0000	1.4
  @@ -33,8 +33,8 @@
   import java.util.Properties;
   
   /**
  - * This {@link org.apache.tools.ant.taskdefs.repository.LibraryPolicy} updates the files
only when the schedule
  - * indicates that it should.
  + * This {@link org.apache.tools.ant.taskdefs.repository.LibraryPolicy} updates the files
only
  + * when the schedule indicates that it should.
    * <p/>
    * The default interval is eleven hours; it's prime, it encourages
    * regular but not excessive days.
  @@ -53,10 +53,14 @@
        */
       private Properties markerFileToSave;
   
  -    public static final String ERROR_NO_MARKER_FILE = "No marker file";
  -    public static final String MARKER_MISMATCH = "No match between last update and current
one";
  -    public static final String INTERVAL_TRIGGERS_UPDATE = "Interval between updates is
long; updating";
  -    public static final String INTERVAL_SHORT_NO_UPDATE = "Interval between updates is
short; no update";
  +    public static final String ERROR_NO_MARKER_FILE
  +        = "No marker file";
  +    public static final String MARKER_MISMATCH
  +        = "No match between last update and current one";
  +    public static final String INTERVAL_TRIGGERS_UPDATE
  +        = "Interval between updates is long; updating";
  +    public static final String INTERVAL_SHORT_NO_UPDATE
  +        = "Interval between updates is short; no update";
   
   
       public File getMarkerFile() {
  @@ -148,7 +152,8 @@
               markerFileToSave = now;
               return true;
           } catch (IOException e) {
  -            throw new BuildException("Marker file " + markerFile.getAbsolutePath() + "
access failed", e);
  +            throw new BuildException(
  +                "Marker file " + markerFile.getAbsolutePath() + " access failed", e);
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message