From 06f39e532e19fd2382295a98144996f262c08be3 Mon Sep 17 00:00:00 2001 From: Anil Kumar K Date: Wed, 31 Mar 2004 16:00:34 +0000 Subject: [PATCH] Made the class final to present sub-classing and made the default constructor private to present instantiation. --- com/linuxense/javadbf/Utils.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/com/linuxense/javadbf/Utils.java b/com/linuxense/javadbf/Utils.java index 6180c24..aff8a89 100644 --- a/com/linuxense/javadbf/Utils.java +++ b/com/linuxense/javadbf/Utils.java @@ -7,7 +7,7 @@ author: anil@linuxense.com license: LGPL (http://www.gnu.org/copyleft/lesser.html) - $Id: Utils.java,v 1.6 2004-03-31 10:57:55 anil Exp $ + $Id: Utils.java,v 1.7 2004-03-31 16:00:34 anil Exp $ */ package com.linuxense.javadbf; @@ -18,11 +18,13 @@ /** Miscelaneous functions required by the JavaDBF package. */ -public class Utils { +public final class Utils { public static final int ALIGN_LEFT = 10; public static final int ALIGN_RIGHT = 12; + private Utils(){} + public static int readLittleEndianInt( DataInput in) throws IOException {