You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2005/08/22 21:36:34 UTC
svn commit: r239229 -
/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java
Author: scolebourne
Date: Mon Aug 22 12:36:27 2005
New Revision: 239229
URL: http://svn.apache.org/viewcvs?rev=239229&view=rev
Log:
Javadoc
Modified:
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java
Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java?rev=239229&r1=239228&r2=239229&view=diff
==============================================================================
--- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java (original)
+++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java Mon Aug 22 12:36:27 2005
@@ -122,6 +122,7 @@
* Instances should NOT be constructed in standard programming.
*/
public FilenameUtils() {
+ super();
}
//-----------------------------------------------------------------------
@@ -989,9 +990,16 @@
return false;
}
- // used by wildcardMatch
- // package level so a unit test may run on this
+ /**
+ * Splits a string into a number of tokens.
+ *
+ * @param text the text to split
+ * @return the tokens, never null
+ */
static String[] splitOnTokens(String text) {
+ // used by wildcardMatch
+ // package level so a unit test may run on this
+
if (text.indexOf("?") == -1 && text.indexOf("*") == -1) {
return new String[] { text };
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org