cmlenz 2003/01/22 10:02:03
Modified: documentation/src/java/org/apache/cactus/documentation
CheckSitemapTask.java
Log:
Forgot to update before copying, sorry. This now contains Vincent's
changes.
Revision Changes Path
1.2 +9 -9
jakarta-cactus/documentation/src/java/org/apache/cactus/documentation/CheckSitemapTask.java
Index: CheckSitemapTask.java
===================================================================
RCS file:
/home/cvs/jakarta-cactus/documentation/src/java/org/apache/cactus/documentation/CheckSitemapTask.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CheckSitemapTask.java 22 Jan 2003 17:25:07 -0000 1.1
+++ CheckSitemapTask.java 22 Jan 2003 18:02:03 -0000 1.2
@@ -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]>