You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by am...@apache.org on 2016/12/14 04:10:36 UTC
svn commit: r1774121 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUtils.java
Author: amitj
Date: Wed Dec 14 04:10:35 2016
New Revision: 1774121
URL: http://svn.apache.org/viewvc?rev=1774121&view=rev
Log:
@trivial javadoc fix
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUtils.java
Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUtils.java?rev=1774121&r1=1774120&r2=1774121&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUtils.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUtils.java Wed Dec 14 04:10:35 2016
@@ -32,7 +32,7 @@ public class DataStoreCacheUtils {
private static final Logger LOG = LoggerFactory.getLogger(DataStoreCacheUtils.class);
/**
- * Delete the file from the staged cache and all its empty parent-directories.
+ * Delete the file from the given root directory all its empty parent-directories.
*
* @param f the file to be deleted
* @throws IOException
@@ -40,7 +40,7 @@ public class DataStoreCacheUtils {
public static void recursiveDelete(File f, File root) throws IOException {
if (f.exists()) {
FileUtils.forceDelete(f);
- LOG.info("Deleted staged upload file [{}]", f);
+ LOG.info("Deleted file [{}]", f);
}
// delete empty parent folders (except the main directory)