maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r700753 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
Date Wed, 01 Oct 2008 12:44:11 GMT
Author: vsiveton
Date: Wed Oct  1 05:44:11 2008
New Revision: 700753

URL: http://svn.apache.org/viewvc?rev=700753&view=rev
Log:
DOXIA-256: Remove duplicate codes in HtmlTools and DoxiaUtils

o added note to explain why the code is duplicated

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java?rev=700753&r1=700752&r2=700753&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
Wed Oct  1 05:44:11 2008
@@ -303,6 +303,8 @@
      * HtmlTools.encodeId( "myAnchor" )  = "myAnchor"
      * </pre>
      *
+     * <b>Note</b>: this method is intentionally similar to {@link DoxiaUtils#encodeId(String)}.
+     *
      * @param id The id to be encoded.
      * @return The trimmed and encoded id, or null if id is null.
      */



Mime
View raw message