# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Interfaces
  Interface and Description
  org.eclipse.net4j.util.Handler As of 3.10 use `Consumer`.
  org.eclipse.net4j.util.concurrent.IWorkSerializer As of 3.9 use an executor such as `SerializingExecutor`.
  org.eclipse.net4j.util.Predicate As of 3.10 use `Predicate`.
  org.eclipse.net4j.util.collection.Predicate as of 3.5 use `Predicate`.
  org.eclipse.net4j.util.concurrent.RWLockManager.LockEntry Use `RWOLockManager`
  org.eclipse.net4j.util.concurrent.RWLockManager.LockEntryHandler Use `RWOLockManager`
  org.eclipse.net4j.util.concurrent.RWLockManager.LockStrategy Use `RWOLockManager`

- Deprecated Classes
  Class and Description
  org.eclipse.net4j.util.concurrent.AsynchronousWorkSerializer As of 3.6 use `ExecutorWorkSerializer`.
  org.eclipse.net4j.util.collection.BidiMapper As of 3.6 use `BidiMap`.
  org.eclipse.net4j.util.concurrent.CompletionWorkSerializer As of 3.6 use `ExecutorWorkSerializer`.
  org.eclipse.net4j.util.ui.views.ContainerItemProvider.LazyElement as of 3.5 use `ContainerItemProvider.SlowElement`.
  org.eclipse.net4j.util.ui.views.ContainerNameSorter
  org.eclipse.net4j.util.ui.views.ContainerPathItemProvider
  org.eclipse.net4j.util.event.ExecutorServiceNotifier
  org.eclipse.net4j.util.event.ExecutorServiceNotifier.ThreadPool
  org.eclipse.net4j.util.concurrent.ExecutorWorkSerializer As of 3.9 use an executor such as `SerializingExecutor`.
  org.eclipse.net4j.util.collection.FastList As of 3.2 use `ConcurrentArray`.
  org.eclipse.net4j.util.fsm.FiniteStateMachine.FailTransition Use `FiniteStateMachine.FAIL`
  org.eclipse.net4j.util.fsm.FiniteStateMachine.IgnoreTransition Use `FiniteStateMachine.IGNORE`
  org.eclipse.net4j.util.om.log.OSGiLoggingBridge As of 4.7 use `OSGiLogHandler`.
  org.eclipse.net4j.util.Predicate.DelegatingPredicate As of 3.10 use `Predicate`.
  org.eclipse.net4j.util.collection.PredicateIterator As of 3.10 use `AbstractFilteredIterator.Predicated`.
  org.eclipse.net4j.util.Predicates As of 3.10 use `Predicate`.
  org.eclipse.net4j.util.concurrent.QueueWorkerWorkSerializer As of 3.6 use `ExecutorWorkSerializer`.
  org.eclipse.net4j.util.concurrent.RWLockManager As of 3.2 use `RWOLockManager`.
  org.eclipse.net4j.util.concurrent.Sleeper As of 3.9 subject to future removal.
  org.eclipse.net4j.util.concurrent.SynchronousWorkSerializer As of 3.9 use an executor such as `SynchronousExecutor`.

- Deprecated Fields
  Field and Description
  org.eclipse.net4j.util.io.ZIPUtil.DEFALULT_BUFFER_SIZE As of 3.4 use `ZIPUtil.DEFAULT_BUFFER_SIZE`.
  org.eclipse.net4j.util.security.DiffieHellman.Server.DEFAULT_CYPHER_TRANSFORMATION As of 3.8 the default cipher transformation is "AES/CBC/PKCS5Padding".
  org.eclipse.net4j.util.security.DiffieHellman.Server.DEFAULT_SECRET_ALGORITHM As of 3.8 the default secret algorithm is "AES".
  org.eclipse.net4j.util.concurrent.ExecutorServiceFactory.TYPE As of 4.8 the value of the system property "org.eclipse.net4j.util.concurrent.ExecutorServiceFactory.type" is used.

- Deprecated Methods
  Method and Description
  org.eclipse.net4j.util.HexUtil.appendHex(StringBuilder, int)
  org.eclipse.net4j.util.HexUtil.formatByte(int)
  org.eclipse.net4j.util.HexUtil.formatBytes(byte[])
  org.eclipse.net4j.util.security.DiffieHellman.Server.Challenge.getCypherTransformation() As of 3.8 use `DiffieHellman.Server.Challenge.getCipherTransformation()`.
  org.eclipse.net4j.util.ui.actions.LongRunningAction.getTotalWork() Not supported anymore.
  org.eclipse.net4j.util.ui.actions.LongRunningActionDelegate.getTotalWork() Not supported anymore.
  org.eclipse.net4j.util.ui.handlers.LongRunningHandler.getTotalWork() Not supported anymore.
  org.eclipse.net4j.util.ui.StructuredContentProvider.refreshSynced(Object, boolean) Use `StructuredContentProvider.refreshElement(Object, boolean)`
  org.eclipse.net4j.util.om.OMBundle.setBundleContext(Object) For internal use only.
  org.eclipse.net4j.util.ui.container.ElementWizardComposite.setDefaultDescription(String, String) Override `ElementWizardComposite.getDefaultDescription(String)` instead.
  org.eclipse.net4j.util.ui.actions.LongRunningAction.setTotalWork(int) Not supported anymore.
  org.eclipse.net4j.util.ui.actions.LongRunningActionDelegate.setTotalWork(int) Not supported anymore.
  org.eclipse.net4j.util.ui.handlers.LongRunningHandler.setTotalWork(int) Not supported anymore.

- Deprecated Constructors
  Constructor and Description
  org.eclipse.net4j.util.security.DiffieHellman.Server.Challenge(String, String, String, byte[]) As of 3.8 public construction is no longer supported.

Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html