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 2022/06/20 16:30:17 UTC
[commons-io] branch master updated: Package private variable can be private
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-io.git
The following commit(s) were added to refs/heads/master by this push:
new 9366e1dd Package private variable can be private
9366e1dd is described below
commit 9366e1dd3cd7d5a91cbcace40baa32fbc0f78a60
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jun 20 12:30:12 2022 -0400
Package private variable can be private
---
src/main/java/org/apache/commons/io/FileCleaner.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/io/FileCleaner.java b/src/main/java/org/apache/commons/io/FileCleaner.java
index ff65f962..609d34be 100644
--- a/src/main/java/org/apache/commons/io/FileCleaner.java
+++ b/src/main/java/org/apache/commons/io/FileCleaner.java
@@ -36,10 +36,11 @@ import java.io.File;
*/
@Deprecated
public class FileCleaner {
+
/**
* The instance to use for the deprecated, static methods.
*/
- static final FileCleaningTracker INSTANCE = new FileCleaningTracker();
+ private static final FileCleaningTracker INSTANCE = new FileCleaningTracker();
/**
* Call this method to cause the file cleaner thread to terminate when