From 1dde2713c41907b046084888a1e8faf6bffc0120 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 07 Jan 2010 10:16:26 +0000
Subject: [PATCH] Use generics to avoid warnings from my IDE.
---
opendj-sdk/opends/src/ads/org/opends/admin/ads/util/ConnectionUtils.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj-sdk/opends/src/ads/org/opends/admin/ads/util/ConnectionUtils.java b/opendj-sdk/opends/src/ads/org/opends/admin/ads/util/ConnectionUtils.java
index 013f6e3..1290f9b 100644
--- a/opendj-sdk/opends/src/ads/org/opends/admin/ads/util/ConnectionUtils.java
+++ b/opendj-sdk/opends/src/ads/org/opends/admin/ads/util/ConnectionUtils.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008-2009 Sun Microsystems, Inc.
+ * Copyright 2008-2010 Sun Microsystems, Inc.
*/
package org.opends.admin.ads.util;
@@ -128,7 +128,7 @@
/* Contains the DirContext and the Exception if any */
final Object[] pair = new Object[]
{ null, null };
- final Hashtable fEnv = env;
+ final Hashtable<String, String> fEnv = env;
Thread t = new Thread(new Runnable()
{
public void run()
@@ -209,7 +209,7 @@
/* Contains the DirContext and the Exception if any */
final Object[] pair = new Object[] {null, null};
- final Hashtable fEnv = env;
+ final Hashtable<String, String> fEnv = env;
final TrustManager fTrustManager = trustManager;
final KeyManager fKeyManager = keyManager;
@@ -259,7 +259,7 @@
}
/* Contains the DirContext and the Exception if any */
final Object[] pair = new Object[] {null, null};
- final Hashtable fEnv = env;
+ final Hashtable<?, ?> fEnv = env;
final TrustManager fTrustManager = trustManager;
final KeyManager fKeyManager = keyManager;
final Control[] fNewCtls = newCtls;
@@ -348,7 +348,7 @@
/* Contains the DirContext and the Exception if any */
final Object[] pair = new Object[] {null, null};
- final Hashtable fEnv = env;
+ final Hashtable<?, ?> fEnv = env;
final String fDn = dn;
final String fPwd = pwd;
final TrustManager fTrustManager = trustManager;
--
Gitblit v1.10.0