summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--java/sql/Types.java7
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3bdc59993..90857341a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-24 Tom Tromey <tromey@redhat.com>
+
+ * java/sql/Types.java (Types): New constructor.
+
2001-10-23 Tom Tromey <tromey@redhat.com>
* java/util/PropertyResourceBundle.java (handleGetObject): Now
diff --git a/java/sql/Types.java b/java/sql/Types.java
index 5e734d0fc..afc15211f 100644
--- a/java/sql/Types.java
+++ b/java/sql/Types.java
@@ -1,5 +1,5 @@
/* Types.java -- SQL type constants
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -67,5 +67,10 @@ public static final int BLOB = 2004;
public static final int CLOB = 2005;
public static final int REF = 2006;
+ // This class can't be instantiated.
+ private Types ()
+ {
+ }
+
} // class Types