mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
20.36.2016 2a3158aad80fc910b83336485b3e545dea50066c
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/BackupTableModel.java
@@ -12,7 +12,7 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2008 Sun Microsystems, Inc.
 * Portions Copyright 2015 ForgeRock AS.
 * Portions Copyright 2015-2016 ForgeRock AS.
 */
package org.opends.guitools.controlpanel.datamodel;
@@ -21,10 +21,7 @@
import javax.swing.table.AbstractTableModel;
/**
 * The table used to display the backups.
 *
 */
/** The table used to display the backups. */
public class BackupTableModel extends AbstractTableModel
{
  private static final long serialVersionUID = -3511425157550147124L;
@@ -45,7 +42,7 @@
    backups.add(backup);
  }
  /** {@inheritDoc} */
  @Override
  public Object getValueAt(int row, int column)
  {
    switch (column)
@@ -63,19 +60,13 @@
    }
  }
  /**
   * Returns the row count.
   * @return the row count.
   */
  @Override
  public int getRowCount()
  {
    return backups.size();
  }
  /**
   * Returns the column count.
   * @return the column count.
   */
  @Override
  public int getColumnCount()
  {
    return 4;