From 838e873376cc4a1cc3588746f6bf8dec4c9355a9 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 19 Jan 2010 17:09:10 +0000
Subject: [PATCH] Fix a bunch of warnings mentioned by the IDE (most of them related to the non-use of generics).
---
opends/src/quicksetup/org/opends/quicksetup/ui/DirectoryManagerAuthenticationDialog.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/DirectoryManagerAuthenticationDialog.java b/opends/src/quicksetup/org/opends/quicksetup/ui/DirectoryManagerAuthenticationDialog.java
index 1ee1f83..1797336 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/DirectoryManagerAuthenticationDialog.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/DirectoryManagerAuthenticationDialog.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2006-2009 Sun Microsystems, Inc.
+ * Copyright 2006-2010 Sun Microsystems, Inc.
*/
package org.opends.quicksetup.ui;
@@ -329,9 +329,9 @@
private void shutDownClicked()
{
isCancelled = false;
- BackgroundTask worker = new BackgroundTask()
+ BackgroundTask<Boolean> worker = new BackgroundTask<Boolean>()
{
- public Object processBackgroundTask() throws NamingException
+ public Boolean processBackgroundTask() throws NamingException
{
Boolean isServerRunning = Boolean.TRUE;
try
@@ -368,7 +368,7 @@
return isServerRunning;
}
- public void backgroundTaskCompleted(Object returnValue,
+ public void backgroundTaskCompleted(Boolean returnValue,
Throwable throwable)
{
if (throwable != null)
--
Gitblit v1.10.0