blob: 447abc7c57026580b417c5c431d461745279aa1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ae,v 1.1 2006/06/26 09:53:56 rillig Exp $
Since Java 1.5, "enum" is a keyword.
--- DbEnv.java.orig 2001-07-03 23:08:49.000000000 +0200
+++ DbEnv.java 2006-06-26 11:48:55.000000000 +0200
@@ -78,9 +78,9 @@
//
/*package*/ void _notify_dbs()
{
- Enumeration enum = dblist_.elements();
- while (enum.hasMoreElements()) {
- Db db = (Db)enum.nextElement();
+ Enumeration e = dblist_.elements();
+ while (e.hasMoreElements()) {
+ Db db = (Db)e.nextElement();
db._notify_dbenv_close();
}
dblist_.removeAllElements();
|