aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge
diff options
context:
space:
mode:
authorAndrew Su <[email protected]>2011-04-13 17:23:49 -0400
committerAndrew Su <[email protected]>2011-04-13 17:23:49 -0400
commitec968cf58387a42d0eb9dbc6720ab5ff80a1d151 (patch)
tree101d8abcdaba82afb1e31e81d9ab9728b143ecbf /netx/net/sourceforge
parent12a09d26929a3a7bfb46e55ed3e3641ff3e86292 (diff)
Make CacheDirectory final and not instantiable.
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r--netx/net/sourceforge/jnlp/cache/CacheDirectory.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/cache/CacheDirectory.java b/netx/net/sourceforge/jnlp/cache/CacheDirectory.java
index 538449d..71e4a01 100644
--- a/netx/net/sourceforge/jnlp/cache/CacheDirectory.java
+++ b/netx/net/sourceforge/jnlp/cache/CacheDirectory.java
@@ -41,7 +41,11 @@ import java.util.ArrayList;
import net.sourceforge.jnlp.util.FileUtils;
-public class CacheDirectory {
+public final class CacheDirectory {
+
+ /* Don't allow instantiation of this class */
+ private CacheDirectory(){}
+
/**
* Get the structure of directory for keeping track of the protocol and
* domain.