vmassol 2003/01/22 02:56:49
Modified: anttasks/src/java/org/apache/cactus/ant
CheckSitemapTask.java
Log:
Homogeneized logging separator (we use '[' and ']' everywhere)
Revision Changes Path
1.5 +9 -9
jakarta-cactus/anttasks/src/java/org/apache/cactus/ant/CheckSitemapTask.java
Index: CheckSitemapTask.java
===================================================================
RCS file:
/home/cvs/jakarta-cactus/anttasks/src/java/org/apache/cactus/ant/CheckSitemapTask.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CheckSitemapTask.java 22 Jan 2003 10:54:46 -0000 1.4
+++ CheckSitemapTask.java 22 Jan 2003 10:56:49 -0000 1.5
@@ -237,7 +237,7 @@
String source = theElement.getAttribute("source");
if ((source == null) || (source.length() == 0))
{
- log("Skipping remote resource '" + id + "'", Project.MSG_VERBOSE);
+ log("Skipping remote resource [" + id + "]", Project.MSG_VERBOSE);
}
else
{
@@ -250,21 +250,21 @@
* Checks whether a specified local sitemap resource points to an existing
* file.
*
- * @param theId The 'id' attribute of the resource element
- * @param theSource The 'source' attribute of the resource element, the
- * relative path from the directory containing the sitemap file to
- * the resource file
+ * @param theId The <code>id</code> attribute of the resource element
+ * @param theSource The <code>source</code> attribute of the resource
+ * element, the relative path from the directory containing the sitemap file
+ * to the resource file
* @return Whether the file exists
*/
private boolean checkLocalSitemapResource(String theId, String theSource)
{
File sourceFile = new File(sitemapDir, theSource);
- log("Checking resource '" + theId + "' at '" + theSource + "'",
+ log("Checking resource [" + theId + "] at [" + theSource + "]",
Project.MSG_DEBUG);
if (!sourceFile.exists())
{
- log("Sitemap resource '" + theId + "' not found under '"
- + theSource + "'", Project.MSG_ERR);
+ log("Sitemap resource [" + theId + "] not found under ["
+ + theSource + "]", Project.MSG_ERR);
return false;
}
return true;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>