From c6e5f7a47b47ffd42b234b342c6f67d298201959 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Fri, 21 Jan 2005 14:32:13 +0000 Subject: [PATCH] checkstyle: 100 char line limit git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277414 13f79535-47bb-0310-9956-ffa450edef68 --- .../repository/ScheduledUpdatePolicy.java | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/repository/ScheduledUpdatePolicy.java b/src/main/org/apache/tools/ant/taskdefs/repository/ScheduledUpdatePolicy.java index 9496651e6..06a1c10c8 100644 --- a/src/main/org/apache/tools/ant/taskdefs/repository/ScheduledUpdatePolicy.java +++ b/src/main/org/apache/tools/ant/taskdefs/repository/ScheduledUpdatePolicy.java @@ -33,8 +33,8 @@ import java.util.ListIterator; 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. *

* The default interval is eleven hours; it's prime, it encourages * regular but not excessive days. @@ -53,10 +53,14 @@ public class ScheduledUpdatePolicy extends BaseLibraryPolicy { */ 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 @@ public class ScheduledUpdatePolicy extends BaseLibraryPolicy { 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); } }