Skip to content

Commit a330996

Browse files
committed
made toSuffixes private as it is a helper method to another method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@140455 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0b14105 commit a330996

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/java/org/apache/commons/io/FileUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
* @author <a href="mailto:jefft@apache.org">Jeff Turner</a>
117117
* @author Matthew Hawthorne
118118
* @author <a href="mailto:jeremias@apache.org">Jeremias Maerki</a>
119-
* @version $Id: FileUtils.java,v 1.21 2003/12/29 03:28:53 bayard Exp $
119+
* @version $Id: FileUtils.java,v 1.22 2003/12/29 13:14:52 bayard Exp $
120120
*/
121121
public class FileUtils {
122122

@@ -257,7 +257,7 @@ public static Collection listFiles(File directory, IOFileFilter fileFilter, IOFi
257257
* @param extensions an array of extensions. Format: {"java", "xml"}
258258
* @return an array of suffixes. Format: {".java", ".xml"}
259259
*/
260-
public static String[] toSuffixes(final String[] extensions) {
260+
private static String[] toSuffixes(final String[] extensions) {
261261
String[] suffixes = new String[extensions.length];
262262
for (int i = 0; i < extensions.length; i++) {
263263
suffixes[i] = "." + extensions[i];

0 commit comments

Comments
 (0)