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

Jean-Noel Rouvignac
10.34.2015 0a91f5af5295a2d0f5cfdad0d529d4b5d532c181
opendj3-server-dev/src/server/org/opends/server/backends/MemoryBackend.java
@@ -619,9 +619,17 @@
  /** {@inheritDoc} */
  @Override
  public boolean supportsLDIFExport()
  public boolean supports(BackendOperation backendOperation)
  {
    return true;
    switch (backendOperation)
    {
    case LDIF_EXPORT:
    case LDIF_IMPORT:
      return true;
    default:
      return false;
    }
  }
  /** {@inheritDoc} */
@@ -667,13 +675,6 @@
  /** {@inheritDoc} */
  @Override
  public boolean supportsLDIFImport()
  {
    return true;
  }
  /** {@inheritDoc} */
  @Override
  public synchronized LDIFImportResult importLDIF(LDIFImportConfig importConfig)
         throws DirectoryException
  {
@@ -748,13 +749,6 @@
  /** {@inheritDoc} */
  @Override
  public boolean supportsBackup()
  {
    return false;
  }
  /** {@inheritDoc} */
  @Override
  public void createBackup(BackupConfig backupConfig)
         throws DirectoryException
  {
@@ -774,13 +768,6 @@
  /** {@inheritDoc} */
  @Override
  public boolean supportsRestore()
  {
    return false;
  }
  /** {@inheritDoc} */
  @Override
  public void restoreBackup(RestoreConfig restoreConfig)
         throws DirectoryException
  {
@@ -794,4 +781,3 @@
    throw new UnsupportedOperationException("Operation not supported.");
  }
}