You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/08/05 14:23:00 UTC
[commons-vfs] branch master updated: Use in-line comment style.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push:
new 2ca7653 Use in-line comment style.
2ca7653 is described below
commit 2ca76537378963bba52209dcb3371840201cb264
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Aug 5 10:22:58 2021 -0400
Use in-line comment style.
---
.../org/apache/commons/vfs2/provider/AbstractFileObject.java | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
index 330d8f6..26712c3 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
@@ -1327,11 +1327,10 @@ public abstract class AbstractFileObject<AFS extends AbstractFileSystem> impleme
* @throws FileSystemException if an error occurs.
*/
public RandomAccessContent getRandomAccessContent(final RandomAccessMode mode) throws FileSystemException {
- /*
- * VFS-210 if (!getType().hasContent()) { throw new FileSystemException("vfs.provider/read-not-file.error",
- * name); }
- */
-
+ //
+ // VFS-210 if (!getType().hasContent()) { throw new FileSystemException("vfs.provider/read-not-file.error",
+ // name); }
+ //
if (mode.requestRead()) {
if (!fileSystem.hasCapability(Capability.RANDOM_ACCESS_READ)) {
throw new FileSystemException("vfs.provider/random-access-read-not-supported.error");