[Webfunds-commits] java/webfunds/sox Utils.java

Jeroen C. van Gelderen gelderen@cypherpunks.ai
Sat, 10 Jun 2000 18:37:15 -0400 (AST)


gelderen    00/06/10 18:37:15

  Modified:    webfunds/sox Utils.java
  Log:
  Declaring a class abstract doesn't prevent inheriting from it. Equip this
  one with a private ctor and mark it final instead.

Revision  Changes    Path
1.13      +5 -4      java/webfunds/sox/Utils.java

Index: Utils.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/Utils.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Utils.java	2000/05/28 02:59:56	1.12
+++ Utils.java	2000/06/10 22:37:15	1.13
@@ -1,5 +1,5 @@
 /*
- * $Id: Utils.java,v 1.12 2000/05/28 02:59:56 iang Exp $
+ * $Id: Utils.java,v 1.13 2000/06/10 22:37:15 gelderen Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -12,11 +12,12 @@
 import webfunds.sox.Crypto;
 
 /**
- * A set of utility functions
- * (hence the class is abstract, to prevent its instantiation)
+ * A set of utility functions.
  */
-public abstract class Utils
+public final class Utils
 {
+    private Utils() {}
+
     /**
      * Read a file into a byte array
      *