From 34a9d1734d80b8b9906a9e14692a7fa0eb3f1f1c Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 04 Apr 2016 13:38:35 +0000
Subject: [PATCH] Remove @Activate/RemoveOnceNewConfigFrameworkIsUsed

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/IndexTableModel.java |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/IndexTableModel.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/IndexTableModel.java
index 06b589b..57b887f 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/IndexTableModel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/IndexTableModel.java
@@ -12,21 +12,20 @@
  * information: "Portions Copyright [year] [name of copyright owner]".
  *
  * Copyright 2008-2009 Sun Microsystems, Inc.
- * Portions Copyright 2014-2015 ForgeRock AS.
+ * Portions Copyright 2014-2016 ForgeRock AS.
  */
-
 package org.opends.guitools.controlpanel.datamodel;
 
 import static org.opends.messages.AdminToolMessages.*;
 
 import org.forgerock.i18n.LocalizableMessage;
+import org.forgerock.opendj.server.config.meta.BackendIndexCfgDefn.IndexType;
 
 /**
  * The table model for the indexes.  This is the table model used by the table
  * that appears on the right side of the Manage Index dialog when the user
  * clicks on the node "Index" and it gives a global view of the indexes
  * defined on a given backend.
- *
  */
 public class IndexTableModel extends AbstractIndexTableModel
 {
@@ -133,7 +132,7 @@
   private String getIndexTypeString(IndexDescriptor index)
   {
     StringBuilder sb = new StringBuilder();
-    for (IndexTypeDescriptor type : index.getTypes())
+    for (IndexType type : index.getTypes())
     {
       if (sb.length() > 0)
       {
@@ -148,7 +147,7 @@
     return sb.toString();
   }
 
-  private LocalizableMessage getIndexName(IndexTypeDescriptor type)
+  private LocalizableMessage getIndexName(IndexType type)
   {
     switch (type)
     {

--
Gitblit v1.10.0