X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.osgi.boot%2Fsrc%2Forg%2Fargeo%2Fosgi%2Fboot%2Finternal%2Fspringutil%2FStringUtils.java;h=6cbaee8f887744a1abf740621c22ec2616389b4d;hb=5330a39edafd14df2e6cdc57aae4e9393ebca75c;hp=83d91755b0dc1b395dd7a5a4a17e65e4b7da37bb;hpb=f8cb8d9383c303f993ca411408c244b9873c046d;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.osgi.boot/src/org/argeo/osgi/boot/internal/springutil/StringUtils.java b/org.argeo.osgi.boot/src/org/argeo/osgi/boot/internal/springutil/StringUtils.java index 83d91755b..6cbaee8f8 100644 --- a/org.argeo.osgi.boot/src/org/argeo/osgi/boot/internal/springutil/StringUtils.java +++ b/org.argeo.osgi.boot/src/org/argeo/osgi/boot/internal/springutil/StringUtils.java @@ -49,7 +49,6 @@ import java.util.TreeSet; * @author Rob Harrop * @author Rick Evans * @since 16 April 2001 - * @see org.apache.commons.lang.StringUtils */ @SuppressWarnings({ "rawtypes", "unchecked" }) public abstract class StringUtils { @@ -431,7 +430,7 @@ public abstract class StringUtils { * Quote the given String with single quotes. * @param str the input String (e.g. "myString") * @return the quoted String (e.g. "'myString'"), - * or null if the input was null + * or null if the input was null */ public static String quote(String str) { return (str != null ? "'" + str + "'" : null); @@ -506,7 +505,7 @@ public abstract class StringUtils { /** * Extract the filename from the given path, - * e.g. "mypath/myfile.txt" -> "myfile.txt". + * e.g. "mypath/myfile.txt" to "myfile.txt". * @param path the file path (may be null) * @return the extracted filename, or null if none */ @@ -520,7 +519,7 @@ public abstract class StringUtils { /** * Extract the filename extension from the given path, - * e.g. "mypath/myfile.txt" -> "txt". + * e.g. "mypath/myfile.txt" to "txt". * @param path the file path (may be null) * @return the extracted filename extension, or null if none */ @@ -534,7 +533,7 @@ public abstract class StringUtils { /** * Strip the filename extension from the given path, - * e.g. "mypath/myfile.txt" -> "mypath/myfile". + * e.g. "mypath/myfile.txt" to "mypath/myfile". * @param path the file path (may be null) * @return the path with stripped filename extension, * or null if none