From 69aff3ddcbf75ff1f1e9e9b593f16500b4ed3cfd Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Mon, 13 Apr 2015 07:51:15 +0000
Subject: [PATCH] OPENDJ-1943 Fix control panel new index
---
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewIndexPanel.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewIndexPanel.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewIndexPanel.java
index c4f7286..4614a16 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewIndexPanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewIndexPanel.java
@@ -344,9 +344,8 @@
private String getAttributeName()
{
- CategorizedComboBoxElement o =
- (CategorizedComboBoxElement)attributes.getSelectedItem();
- return o != null ? o.toString() : null;
+ CategorizedComboBoxElement o = (CategorizedComboBoxElement) attributes.getSelectedItem();
+ return o != null ? o.getValue().toString() : null;
}
/**
--
Gitblit v1.10.0