diff options
author | Andrew Su <[email protected]> | 2011-04-13 17:23:49 -0400 |
---|---|---|
committer | Andrew Su <[email protected]> | 2011-04-13 17:23:49 -0400 |
commit | ec968cf58387a42d0eb9dbc6720ab5ff80a1d151 (patch) | |
tree | 101d8abcdaba82afb1e31e81d9ab9728b143ecbf /netx | |
parent | 12a09d26929a3a7bfb46e55ed3e3641ff3e86292 (diff) |
Make CacheDirectory final and not instantiable.
Diffstat (limited to 'netx')
-rw-r--r-- | netx/net/sourceforge/jnlp/cache/CacheDirectory.java | 6 |
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. |