You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2013/08/14 14:42:22 UTC

svn commit: r1513844 - /jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/util/FileUtils.java

Author: andy
Date: Wed Aug 14 12:42:21 2013
New Revision: 1513844

URL: http://svn.apache.org/r1513844
Log:
Remove getBasename, which did the wrong thing (it was not the basename).

Modified:
    jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/util/FileUtils.java

Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/util/FileUtils.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/util/FileUtils.java?rev=1513844&r1=1513843&r2=1513844&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/util/FileUtils.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/util/FileUtils.java Wed Aug 14 12:42:21 2013
@@ -301,17 +301,6 @@ public class FileUtils
         return f.getParent() ;
     }
 
-    /** Get the basename of a filename
-     * 
-     * @param filename
-     * @return Base filename.
-     */
-    public static String getBasename(String filename)
-    {
-        File f = new File(filename) ;
-        return f.getName() ;
-    }
-
     /**
      Get the suffix part of a file name or a URL in file-like format.
      */