Improve Javadoc
[lgpl/argeo-commons.git] / org.argeo.osgi.boot / src / org / argeo / osgi / boot / internal / springutil / StringUtils.java
index 262659044bcaf26c73b3cec9f5c94ca8ddbe5e09..6cbaee8f887744a1abf740621c22ec2616389b4d 100644 (file)
@@ -49,8 +49,8 @@ import java.util.TreeSet;
  * @author Rob Harrop\r
  * @author Rick Evans\r
  * @since 16 April 2001\r
- * @see org.apache.commons.lang.StringUtils\r
  */\r
+@SuppressWarnings({ "rawtypes", "unchecked" })\r
 public abstract class StringUtils {\r
 \r
        private static final String FOLDER_SEPARATOR = "/";\r
@@ -430,7 +430,7 @@ public abstract class StringUtils {
         * Quote the given String with single quotes.\r
         * @param str the input String (e.g. "myString")\r
         * @return the quoted String (e.g. "'myString'"),\r
-        * or <code>null<code> if the input was <code>null</code>\r
+        * or <code>null</code> if the input was <code>null</code>\r
         */\r
        public static String quote(String str) {\r
                return (str != null ? "'" + str + "'" : null);\r
@@ -505,7 +505,7 @@ public abstract class StringUtils {
 \r
        /**\r
         * Extract the filename from the given path,\r
-        * e.g. "mypath/myfile.txt" -> "myfile.txt".\r
+        * e.g. "mypath/myfile.txt" to "myfile.txt".\r
         * @param path the file path (may be <code>null</code>)\r
         * @return the extracted filename, or <code>null</code> if none\r
         */\r
@@ -519,7 +519,7 @@ public abstract class StringUtils {
 \r
        /**\r
         * Extract the filename extension from the given path,\r
-        * e.g. "mypath/myfile.txt" -> "txt".\r
+        * e.g. "mypath/myfile.txt" to "txt".\r
         * @param path the file path (may be <code>null</code>)\r
         * @return the extracted filename extension, or <code>null</code> if none\r
         */\r
@@ -533,7 +533,7 @@ public abstract class StringUtils {
 \r
        /**\r
         * Strip the filename extension from the given path,\r
-        * e.g. "mypath/myfile.txt" -> "mypath/myfile".\r
+        * e.g. "mypath/myfile.txt" to "mypath/myfile".\r
         * @param path the file path (may be <code>null</code>)\r
         * @return the path with stripped filename extension,\r
         * or <code>null</code> if none\r