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/11/27 16:13:38 UTC
[commons-vfs] 01/02: Fix Checkstyle WhitespaceAround: 'synchronized' is not followed by whitespace.
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
commit 65d0fc941e2e8f03e059f95586e2e95c8d588e54
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Nov 27 11:01:07 2021 -0500
Fix Checkstyle WhitespaceAround: 'synchronized' is not followed by
whitespace.
---
.../main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
index 1b283ba..78a4705 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
@@ -164,7 +164,7 @@ public class SoftRefFilesCache extends AbstractFilesCache {
log.debug("putFile: " + this.getSafeName(fileObject));
}
- synchronized(this) {
+ synchronized (this) {
final Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileObject.getFileSystem());
final Reference<FileObject> ref = createReference(fileObject, refQueue);
@@ -184,7 +184,7 @@ public class SoftRefFilesCache extends AbstractFilesCache {
log.debug("putFile: " + this.getSafeName(fileObject));
}
- synchronized(this) {
+ synchronized (this) {
final Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileObject.getFileSystem());
final Reference<FileObject> ref = createReference(fileObject, refQueue);