Author: hboutemy
Date: Sat May 29 12:10:14 2010
New Revision: 949383
URL: http://svn.apache.org/viewvc?rev=949383&view=rev
Log:
fixed typos
Modified:
maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java
Modified:
maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
URL:
http://svn.apache.org/viewvc/maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java?rev=949383&r1=949382&r2=949383&view=diff
==============================================================================
---
maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
(original)
+++
maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
Sat May 29 12:10:14 2010
@@ -257,7 +257,7 @@ public class DefaultSiteTool
}
else if ( ( toUrl != null && fromUrl == null ) || ( toUrl == null &&
fromUrl != null ) )
{
- // one is a URL and the other isnt, no relative available.
+ // one is a URL and the other isn't, no relative available.
return to;
}
@@ -1124,8 +1124,8 @@ public class DefaultSiteTool
// TODO: this is a bit crude - proper type, or proper handling as
metadata rather than an artifact in 2.1?
Artifact artifact = artifactFactory.createArtifactWithClassifier(
project.getGroupId(),
project.getArtifactId(),
-
project.getVersion(), "xml", "site_"
-
+ locale.getLanguage() );
+
project.getVersion(), "xml",
+
"site_" + locale.getLanguage() );
boolean found = false;
try
Modified:
maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java
URL:
http://svn.apache.org/viewvc/maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java?rev=949383&r1=949382&r2=949383&view=diff
==============================================================================
---
maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java
(original)
+++
maven/shared/trunk/maven-doxia-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java
Sat May 29 12:10:14 2010
@@ -97,7 +97,7 @@ public interface SiteTool
String getRelativePath( String to, String from );
/**
- * Get a site descriptor from the project's base direcory.
+ * Get a site descriptor from the project's base directory.
*
* @param siteDirectory The path to the directory containing the
<code>site.xml</code> file, relative to the
* project base directory. If null, using by default "src/site".
@@ -282,7 +282,7 @@ public interface SiteTool
* of the Java Virtual Machine.</p>
*
* @param localeCode the locale code string.
- * @return a java.util.Locale object instancied or null if errors occurred
+ * @return a java.util.Locale object instanced or null if errors occurred
* @see <a
href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html">java.util.Locale#getDefault()</a>
*/
Locale codeToLocale( String localeCode );