Author: peterreilly
Date: Sat Aug 11 05:57:01 2007
New Revision: 564917
URL: http://svn.apache.org/viewvc?view=rev&rev=564917
Log:
checkstyle
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java?view=diff&rev=564917&r1=564916&r2=564917
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
Sat Aug 11 05:57:01 2007
@@ -1,9 +1,10 @@
/*
- * Copyright 2007 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@@ -14,7 +15,6 @@
* limitations under the License.
*
*/
-
package org.apache.tools.ant.listener;
import org.apache.tools.ant.BuildEvent;
@@ -26,7 +26,8 @@
import java.io.File;
/**
- * This is a special logger that is designed to make it easier to work with
big projects, those that use imports and
+ * This is a special logger that is designed to make it easier to work
+ * with big projects, those that use imports and
* subant to build complex systems.
*
* @since Ant1.7.1
@@ -38,15 +39,17 @@
* Header string for the log.
* [EMAIL PROTECTED]
*/
- public static final String
HEADER="======================================================================";
+ public static final String HEADER
+ =
"======================================================================";
/**
* Footer string for the log.
* [EMAIL PROTECTED]
*/
- public static final String FOOTER=HEADER;
+ public static final String FOOTER = HEADER;
/**
- * This is an override point: the message that indicates whether a build
failed. Subclasses can change/enhance the
+ * This is an override point: the message that indicates whether
+ * a build failed. Subclasses can change/enhance the
* message.
*
* @return The classic "BUILD FAILED" plus a timestamp
@@ -56,7 +59,8 @@
}
/**
- * This is an override point: the message that indicates that a build
succeeded. Subclasses can change/enhance the
+ * This is an override point: the message that indicates that
+ * a build succeeded. Subclasses can change/enhance the
* message.
*
* @return The classic "BUILD SUCCESSFUL" plus a timestamp
@@ -113,13 +117,14 @@
Project project = event.getProject();
File base = project == null ? null : project.getBaseDir();
- String path = base == null ?
- "With no base directory"
- : "In " + base.getAbsolutePath();
+ String path =
+ (base == null)
+ ? "With no base directory"
+ : "In " + base.getAbsolutePath();
printMessage(StringUtils.LINE_SEP + getHeader()
- + StringUtils.LINE_SEP +"Entering project " + name
+ + StringUtils.LINE_SEP + "Entering project " + name
+ StringUtils.LINE_SEP + path
- +StringUtils.LINE_SEP + getFooter(),
+ + StringUtils.LINE_SEP + getFooter(),
out,
event.getPriority());
}
@@ -135,7 +140,7 @@
if (name == null) {
name = "";
} else {
- name = '"'+name+'"';
+ name = '"' + name + '"';
}
return name;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]