Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
SEARCH

Deprecated API

Contents

  • Classes
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Deprecated Classes
    Class
    Description
    net.i2p.client.naming.EepGetAndAddNamingService
    use HostsTxtNamingService.put()
    net.i2p.client.streaming.I2PSocketManagerFull
     
    net.i2p.router.networkdb.kademlia.ExploreKeySelectorJob
    unused, see comments in KNDF
    net.i2p.router.RouterDoSThrottle
    unused
    net.i2p.router.tunnel.HashSetIVValidator
    unused
    net.i2p.router.tunnel.TrivialRouterPreprocessor
    unused
    net.i2p.util.SimpleScheduler
    in 0.9.20, use SimpleTimer2 instead
    net.i2p.util.ZipFileComment
    scheduled for removal late 2017, not for external use
    org.klomp.snark.PeerMonitorTask
    unused, for command line client only, commented out in Snark.java
    org.klomp.snark.SnarkShutdown
    unused
    org.rrd4j.data.Aggregates
    This class is deprecated. Uses instance of Variable, used with DataProcessor.addDatasource(String, String, Variable).
    org.rrd4j.data.Plottable
    use implementations of IPlottable instead
  • Deprecated Fields
    Field
    Description
    net.i2p.client.streaming.I2PSocketManagerFactory.PROP_MANAGER
     
    net.i2p.crypto.KeyGenerator.PUBKEY_EXPONENT_SIZE
    use getElGamalExponentSize() which allows override in the properties
    net.i2p.i2ptunnel.I2PTunnelClient.dests
    why protected? Is anybody using out-of-tree? Protected from the beginning (2004)
    net.i2p.router.Router.CAPABILITY_NEW_TUNNEL
    unused
    net.i2p.router.transport.udp.UDPTransport.DEFAULT_INTERNAL_PORT
    unused
    org.minidns.record.MX.name
    use MX.target instead.
    org.minidns.record.RRWithTarget.name
    RRWithTarget.target instead.
    org.minidns.record.SRV.name
    use SRV.target instead.
    org.rrd4j.data.DataProcessor.DEFAULT_PIXEL_COUNT
    org.rrd4j.graph.RrdGraphConstants.ALIGN_CENTER_MARKER
    org.rrd4j.graph.RrdGraphConstants.ALIGN_JUSTIFIED_MARKER
    org.rrd4j.graph.RrdGraphConstants.ALIGN_LEFT_MARKER
    org.rrd4j.graph.RrdGraphConstants.ALIGN_LEFTNONL_MARKER
    org.rrd4j.graph.RrdGraphConstants.ALIGN_RIGHT_MARKER
    org.rrd4j.graph.RrdGraphConstants.COLOR_ARROW
    org.rrd4j.graph.RrdGraphConstants.COLOR_BACK
    org.rrd4j.graph.RrdGraphConstants.COLOR_CANVAS
    org.rrd4j.graph.RrdGraphConstants.COLOR_FONT
    org.rrd4j.graph.RrdGraphConstants.COLOR_FRAME
    org.rrd4j.graph.RrdGraphConstants.COLOR_GRID
    org.rrd4j.graph.RrdGraphConstants.COLOR_MGRID
    org.rrd4j.graph.RrdGraphConstants.COLOR_SHADEA
    org.rrd4j.graph.RrdGraphConstants.COLOR_SHADEB
    org.rrd4j.graph.RrdGraphConstants.COLOR_XAXIS
    org.rrd4j.graph.RrdGraphConstants.COLOR_YAXIS
    org.rrd4j.graph.RrdGraphConstants.GLUE_MARKER
    org.rrd4j.graph.RrdGraphConstants.NO_JUSTIFICATION_MARKER
    org.rrd4j.graph.RrdGraphConstants.VERTICAL_SPACING_MARKER
  • Deprecated Methods
    Method
    Description
    com.google.zxing.client.j2se.MatrixToImageWriter.writeToFile(BitMatrix, String, File)
    use MatrixToImageWriter.writeToPath(BitMatrix, String, Path)
    com.google.zxing.client.j2se.MatrixToImageWriter.writeToFile(BitMatrix, String, File, MatrixToImageConfig)
    use MatrixToImageWriter.writeToPath(BitMatrix, String, Path, MatrixToImageConfig)
    com.google.zxing.common.BitMatrix.toString(String, String, String)
    call BitMatrix.toString(String,String) only, which uses \n line separator always
    com.southernstorm.noise.protocol.Curve25519DHState.setPrivateKey(byte[], int)
    use setKeys()
    com.southernstorm.noise.protocol.DHState.setPrivateKey(byte[], int)
    use setKeys()
    com.thetransactioncompany.jsonrpc2.JSONRPC2Error.appendMessage(JSONRPC2Error, String)
    com.thetransactioncompany.jsonrpc2.JSONRPC2Error.setData(JSONRPC2Error, Object)
    com.thetransactioncompany.jsonrpc2.JSONRPC2Error.toJSON()
    com.thetransactioncompany.jsonrpc2.JSONRPC2Notification.getParams()
    com.thetransactioncompany.jsonrpc2.JSONRPC2Notification.setParams(Object)
    com.thetransactioncompany.jsonrpc2.JSONRPC2Request.getParams()
    com.thetransactioncompany.jsonrpc2.JSONRPC2Request.setParams(Object)
    com.thetransactioncompany.jsonrpc2.server.Dispatcher.dispatch(JSONRPC2Notification, MessageContext)
     
    com.thetransactioncompany.jsonrpc2.server.Dispatcher.dispatch(JSONRPC2Request, MessageContext)
     
    com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever.ensureParameter(String)
    com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever.ensureParameter(String, Class<T>)
    com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever.ensureParameter(String, Class<T>, boolean)
    com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever.ensureParameters(String[])
    com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever.ensureParameters(String[], String[])
    com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever.hasParameter(String)
    com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever.hasParameters(String[])
    com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever.hasParameters(String[], String[])
    com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever.ensureParameter(int)
    com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever.ensureParameter(int, Class<T>)
    com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever.ensureParameter(int, Class<T>, boolean)
    com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever.hasParameter(int)
    net.i2p.client.I2PSimpleClient.createDestination(OutputStream)
    Don't do this
    net.i2p.client.I2PSimpleClient.createDestination(OutputStream, SigType)
    Don't do this
    net.i2p.client.I2PSimpleClient.createDestination(OutputStream, Certificate)
    Don't do this
    net.i2p.client.streaming.I2PServerSocket.getChannel()
     
    net.i2p.client.streaming.I2PSocket.getChannel()
     
    net.i2p.client.streaming.impl.ConnectionOptions.getReceiveWindow()
    This doesn't appear to be used.
    net.i2p.client.streaming.impl.ConnectionOptions.getRTTTrend()
    unused as of 0.9.51
    net.i2p.client.streaming.impl.I2PServerSocketFull.getChannel()
     
    net.i2p.client.streaming.impl.I2PSocketFull.getChannel()
     
    net.i2p.client.streaming.impl.I2PSocketManagerFull.init(I2PAppContext, I2PSession, Properties, String)
    use 4-arg constructor
    net.i2p.client.streaming.impl.PacketLocal.getKeyUsed()
    should always return null
    net.i2p.client.streaming.impl.PacketLocal.getTagsSent()
    should always return null or an empty set
    net.i2p.client.streaming.impl.PacketLocal.setKeyUsed(SessionKey)
    I2PSession throws out the tags
    net.i2p.client.streaming.impl.PacketLocal.setTagsSent(Set<SessionTag>)
    I2PSession throws out the tags
    net.i2p.client.streaming.impl.RetransmissionTimer.getInstance()
    Don't use this to prestart threads, this is no longer a static instance
    net.i2p.crypto.AESEngine.safeDecrypt(byte[], SessionKey, byte[])
    unused
    net.i2p.crypto.AESEngine.safeEncrypt(byte[], SessionKey, byte[], int)
    unused
    net.i2p.crypto.CryptixAESKeyCache.acquireKey()
    unused, keys are now cached in the SessionKey objects
    net.i2p.crypto.CryptixAESKeyCache.releaseKey(CryptixAESKeyCache.KeyCacheEntry)
    unused, keys are now cached in the SessionKey objects
    net.i2p.crypto.DSAEngine.calculateHash(InputStream)
    unused
    net.i2p.crypto.eddsa.EdDSAEngine.engineGetParameter(String)
     
    net.i2p.crypto.eddsa.EdDSAEngine.engineSetParameter(String, Object)
    replaced with this
    net.i2p.crypto.elgamal.ElGamalSigEngine.engineGetParameter(String)
     
    net.i2p.crypto.elgamal.ElGamalSigEngine.engineSetParameter(String, Object)
    replaced with this
    net.i2p.crypto.SigUtil.toJavaRSAKey(SigningPublicKey)
    unused
    net.i2p.data.DataHelper.eq(byte, byte)
    inefficient
    net.i2p.data.DataHelper.eq(int, int)
    inefficient
    net.i2p.data.DataHelper.eq(long, long)
    inefficient
    net.i2p.data.DataHelper.fromHexString(String)
    unused
    net.i2p.data.DataHelper.getUTF8(StringBuffer)
    unused
    net.i2p.data.DataHelper.toDate(Date)
    unused
    net.i2p.data.DataHelper.toDecimalString(byte[], int)
    unused
    net.i2p.data.Destination.readBytes(byte[], int)
     
    net.i2p.data.i2cp.I2CPMessageReader.pauseReading()
    unused
    net.i2p.data.i2cp.I2CPMessageReader.resumeReading()
    unused
    net.i2p.data.i2cp.MessagePayloadMessage.setMessageId(long)
    use 3-arg constructor
    net.i2p.data.i2cp.MessagePayloadMessage.setPayload(Payload)
    use 3-arg constructor
    net.i2p.data.i2cp.MessagePayloadMessage.setSessionId(long)
    use 3-arg constructor
    net.i2p.data.i2cp.RequestLeaseSetMessage.remoteEndpoint(int)
    unused - presumably he meant remove?
    net.i2p.data.i2cp.SendMessageMessage.setDestination(Destination)
    use 4-arg constructor
    net.i2p.data.i2cp.SendMessageMessage.setNonce(long)
    use 4-arg constructor
    net.i2p.data.i2cp.SendMessageMessage.setPayload(Payload)
    use 4-arg constructor
    net.i2p.data.i2cp.SendMessageMessage.setSessionId(SessionId)
    use 4-arg constructor
    net.i2p.data.i2np.DeliveryInstructions.getDelayRequested()
    unused
    net.i2p.data.i2np.DeliveryInstructions.getDelaySeconds()
    unused
    net.i2p.data.i2np.DeliveryInstructions.getEncrypted()
    unused
    net.i2p.data.i2np.DeliveryInstructions.getEncryptionKey()
    unused
    net.i2p.data.i2np.DeliveryInstructions.readBytes(InputStream)
    unused
    net.i2p.data.i2np.DeliveryInstructions.setDelayRequested(boolean)
    unused
    net.i2p.data.i2np.DeliveryInstructions.setDelaySeconds(long)
    unused
    net.i2p.data.i2np.DeliveryInstructions.setEncrypted(boolean)
    unused
    net.i2p.data.i2np.DeliveryInstructions.setEncryptionKey(SessionKey)
    unused
    net.i2p.data.i2np.DeliveryInstructions.writeBytes(OutputStream)
    unused
    net.i2p.data.i2np.GarlicClove.readBytes(InputStream)
    unused, use byte array method to avoid copying
    net.i2p.data.i2np.GarlicClove.writeBytes(OutputStream)
    unused, use byte array method to avoid copying
    net.i2p.data.i2np.I2NPMessageImpl.readBytes(InputStream)
    unused
    net.i2p.data.i2np.I2NPMessageImpl.registerBuilder(I2NPMessageImpl.Builder, int)
    unused
    net.i2p.data.i2np.I2NPMessageImpl.writeBytes(OutputStream)
    unused
    net.i2p.data.Lease.getEndDate()
    use getEndTime()
    net.i2p.data.Lease.setEndDate(Date)
    use setEndDate(long)
    net.i2p.data.LeaseSet.verifySignature(SigningPublicKey)
    revocation unused
    net.i2p.data.router.RouterAddress.getExpiration()
    unused for now
    net.i2p.data.router.RouterAddress.getExpirationTime()
    unused for now
    net.i2p.data.router.RouterAddress.getOptions()
    use getOptionsMap()
    net.i2p.data.router.RouterAddress.setExpiration(Date)
    unused for now
    net.i2p.data.router.RouterAddress.setOptions(Properties)
    unused, use 3-arg constructor
    net.i2p.data.router.RouterAddress.setTransportStyle(String)
    unused, use 3-arg constructor
    net.i2p.data.router.RouterInfo.getOptions()
    use getOptionsMap()
    net.i2p.data.router.RouterInfo.getPeers()
    Implemented here but unused elsewhere
    net.i2p.data.router.RouterInfo.setPeers(Set<Hash>)
    Implemented here but unused elsewhere
    net.i2p.I2PAppContext.simpleScheduler()
    in 0.9.20, use simpleTimer2()
    net.i2p.I2PAppContext.simpleTimer()
    use SimpleTimer2
    net.i2p.i2ptunnel.I2PTunnel.destFromName(String)
    Don't use i2ptunnel for lookup! Use I2PAppContext.getGlobalContext().namingService().lookup(name) from i2p.jar
    net.i2p.i2ptunnel.I2PTunnelClientBase.addSubsession(I2PTunnel)
    unused as of 0.9.49
    net.i2p.i2ptunnel.I2PTunnelOutproxyRunner.getLastActivityOn()
    unused
    net.i2p.i2ptunnel.I2PTunnelOutproxyRunner.isFinished()
    unused
    net.i2p.i2ptunnel.I2PTunnelRunner.getLastActivityOn()
    unused
    net.i2p.i2ptunnel.I2PTunnelRunner.isFinished()
    unused
    net.i2p.i2ptunnel.socks.SocketWrapper.getChannel()
    net.i2p.i2ptunnel.TunnelController.getClientOptions()
    why would you want this? Use getClientOptionProps() instead
    net.i2p.i2ptunnel.TunnelController.getSummary(StringBuilder)
    unused
    net.i2p.i2ptunnel.TunnelControllerGroup.saveConfig()
    use saveConfig(TunnelController) or removeConfig(TunnelController)
    net.i2p.i2ptunnel.TunnelControllerGroup.saveConfig(String)
     
    net.i2p.internal.PoisonI2CPMessage.doReadMessage(InputStream, int)
    don't do this
    net.i2p.internal.PoisonI2CPMessage.doWriteMessage()
    don't do this
    net.i2p.router.Banlist.renderStatusHTML(Writer)
    moved to router console
    net.i2p.router.Blocklist.renderStatusHTML(Writer)
     
    net.i2p.router.client.ClientManager.renderStatusHTML(Writer)
    unused
    net.i2p.router.client.ClientManagerFacadeImpl.renderStatusHTML(Writer)
    unused
    net.i2p.router.CommSystemFacade.getReachabilityStatus()
    use getStatus()
    net.i2p.router.CommSystemFacade.recheckReachability()
    unused
    net.i2p.router.crypto.ElGamalAESEngine.decrypt(byte[], PrivateKey)
    specify the key manager!
    net.i2p.router.crypto.ElGamalAESEngine.encrypt(byte[], PublicKey, SessionKey, long)
    unused
    net.i2p.router.crypto.ElGamalAESEngine.encrypt(byte[], PublicKey, SessionKey, Set<SessionTag>, long)
    unused
    net.i2p.router.crypto.ratchet.RatchetSKM.failTags(PublicKey)
    unused and rather drastic
    net.i2p.router.crypto.TransientSessionKeyManager.failTags(PublicKey)
    unused and rather drastic
    net.i2p.router.dummy.DummyTunnelManagerFacade.getTunnelInfo(TunnelId)
    unused
    net.i2p.router.Job.getAddedBy()
     
    net.i2p.router.JobImpl.getAddedBy()
     
    net.i2p.router.JobImpl.madeReady()
    use madeReady(long)
    net.i2p.router.JobQueue.isJobActive(Job)
    unused
    net.i2p.router.JobQueue.renderStatusHTML(Writer)
    moved to router console
    net.i2p.router.JobQueue.restart()
    do you really want to do this?
    net.i2p.router.JobQueue.timingUpdated()
    contention - see JobTiming.setStartAfter() comments
    net.i2p.router.KeyManager.startup()
    we never read keys in anymore
    net.i2p.router.MessageHistory.setPauseFlushes(boolean)
    unused
    net.i2p.router.OutNetMessage.getCreatedBy()
     
    net.i2p.router.OutNetMessage.getTimestamp(String)
    unused
    net.i2p.router.OutNetMessage.getTimestamps()
    unused
    net.i2p.router.peermanager.PeerManagerFacadeImpl.renderStatusHTML(Writer)
    moved to routerconsole
    net.i2p.router.peermanager.PeerManagerFacadeImpl.selectRandomByCapability(char)
    unused
    net.i2p.router.peermanager.PeerProfile.getTunnelTestResponseTime()
    unused
    net.i2p.router.peermanager.PeerProfile.getTunnelTestTimeAverage()
    unused
    net.i2p.router.peermanager.PeerProfile.setTunnelTestTimeAverage(float)
    unused
    net.i2p.router.peermanager.PeerProfile.updateTunnelTestTimeAverage(long)
    unused
    net.i2p.router.peermanager.ProfileManagerImpl.tunnelTestSucceeded(Hash, long)
    disabled
    net.i2p.router.peermanager.ProfileOrganizer.countWellIntegratedPeers()
    use ProfileManager.getPeersByCapability('f').size()
    net.i2p.router.Router.removeConfigSetting(String)
    use saveConfig(String name, String value) or saveConfig(Map toAdd, Set toRemove)
    net.i2p.router.Router.setConfigFilename(String)
    unused
    net.i2p.router.Router.setConfigSetting(String, String)
    use saveConfig(String name, String value) or saveConfig(Map toAdd, Set toRemove)
    net.i2p.router.RouterClock.getDeltaOffset()
    net.i2p.router.RouterContext.setProperty(String, String)
    Use Router.saveConfig()
    net.i2p.router.RouterThrottleImpl.acceptNetDbLookupRequest(Hash)
    unused, function moved to netdb
    net.i2p.router.transport.CommSystemFacadeImpl.recheckReachability()
    unused
    net.i2p.router.transport.FIFOBandwidthLimiter.renderStatusHTML(Writer)
    not worth translating
    net.i2p.router.transport.FIFOBandwidthLimiter.setInboundUnlimited(boolean)
    unused for now, we are always limited
    net.i2p.router.transport.FIFOBandwidthLimiter.setOutboundUnlimited(boolean)
    unused for now, we are always limited
    net.i2p.router.transport.ntcp.NTCPTransport.renderStatusHTML(Writer, String, int)
    as of 0.9.31
    net.i2p.router.transport.OutboundMessageRegistry.renderStatusHTML(Writer)
    unused
    net.i2p.router.transport.Transport.recheckReachability()
    unused
    net.i2p.router.transport.TransportImpl.recheckReachability()
    unused
    net.i2p.router.transport.TransportManager.recheckReachability()
    unused
    net.i2p.router.transport.udp.UDPPacket.requestInboundBandwidth()
    unused
    net.i2p.router.transport.udp.UDPPacketReader.readKeyingMaterial()
    unused
    net.i2p.router.transport.udp.UDPPacketReader.RelayResponseReader.readAliceIP(byte[], int)
    unused
    net.i2p.router.transport.udp.UDPPacketReader.RelayResponseReader.readAliceIPSize()
    unused
    net.i2p.router.transport.udp.UDPPacketReader.RelayResponseReader.readAlicePort()
    unused
    net.i2p.router.transport.udp.UDPSender.add(UDPPacket, int)
    use add(packet)
    net.i2p.router.transport.udp.UDPTransport.recheckReachability()
    unused
    net.i2p.router.transport.udp.UDPTransport.renderStatusHTML(Writer, String, int)
    as of 0.9.31
    net.i2p.router.tunnel.pool.TunnelPoolManager.getTunnelInfo(TunnelId)
    unused
    net.i2p.router.tunnel.pool.TunnelPoolManager.renderStatusHTML(Writer)
    moved to routerconsole
    net.i2p.router.tunnel.TunnelDispatcher.renderStatusHTML(Writer)
    moved to router console
    net.i2p.router.TunnelManagerFacade.getTunnelInfo(TunnelId)
    unused
    net.i2p.router.TunnelPoolSettings.setAllowZeroHop(boolean)
    unused
    net.i2p.router.util.PriBlockingQueue.add(E)
    use offer(o)
    net.i2p.router.util.PriBlockingQueue.offer(E, long, TimeUnit)
    use offer(o)
    net.i2p.router.util.PriBlockingQueue.put(E)
    use offer(o)
    net.i2p.router.web.helpers.ConfigNetHelper.getRequireIntroductionsChecked()
    unused, to be fixed if needed
    net.i2p.router.web.StatSummarizer.renderPng(OutputStream, String)
    unused
    net.i2p.router.web.SummaryRenderer.render(I2PAppContext, OutputStream, String)
    unused
    net.i2p.stat.Frequency.getLastEvent()
    unused
    net.i2p.stat.Frequency.getMinAverageInterval()
    unused
    net.i2p.stat.RateStat.addRate(long)
    net.i2p.stat.RateStat.removeRate(long)
    net.i2p.stat.StatManager.setStatLog(StatLog)
    unused
    net.i2p.util.InternalServerSocket.bind(SocketAddress)
    unsupported
    net.i2p.util.InternalServerSocket.bind(SocketAddress, int)
    unsupported
    net.i2p.util.InternalServerSocket.getInetAddress()
    unsupported
    net.i2p.util.InternalServerSocket.getLocalSocketAddress()
    unsupported
    net.i2p.util.InternalServerSocket.getReceiveBufferSize()
    unsupported
    net.i2p.util.InternalServerSocket.getReuseAddress()
    unsupported
    net.i2p.util.InternalServerSocket.setReceiveBufferSize(int)
    unsupported
    net.i2p.util.InternalServerSocket.setReuseAddress(boolean)
    unsupported
    net.i2p.util.InternalSocket.bind(SocketAddress)
    unsupported
    net.i2p.util.InternalSocket.connect(SocketAddress)
    unsupported
    net.i2p.util.InternalSocket.connect(SocketAddress, int)
    unsupported
    net.i2p.util.InternalSocket.getChannel()
    unsupported
    net.i2p.util.InternalSocket.getInetAddress()
    unsupported
    net.i2p.util.InternalSocket.getKeepAlive()
    unsupported
    net.i2p.util.InternalSocket.getLocalAddress()
    unsupported
    net.i2p.util.InternalSocket.getLocalSocketAddress()
    unsupported
    net.i2p.util.InternalSocket.getOOBInline()
    unsupported
    net.i2p.util.InternalSocket.getReceiveBufferSize()
    unsupported
    net.i2p.util.InternalSocket.getRemoteSocketAddress()
    unsupported
    net.i2p.util.InternalSocket.getReuseAddress()
    unsupported
    net.i2p.util.InternalSocket.getSendBufferSize()
    unsupported
    net.i2p.util.InternalSocket.getTcpNoDelay()
    unsupported
    net.i2p.util.InternalSocket.getTrafficClass()
    unsupported
    net.i2p.util.InternalSocket.isBound()
    unsupported
    net.i2p.util.InternalSocket.sendUrgentData(int)
    unsupported
    net.i2p.util.InternalSocket.setKeepAlive(boolean)
    unsupported
    net.i2p.util.InternalSocket.setOOBInline(boolean)
    unsupported
    net.i2p.util.InternalSocket.setReceiveBufferSize(int)
    unsupported
    net.i2p.util.InternalSocket.setReuseAddress(boolean)
    unsupported
    net.i2p.util.InternalSocket.setSendBufferSize(int)
    unsupported
    net.i2p.util.InternalSocket.setTcpNoDelay(boolean)
    unsupported
    net.i2p.util.InternalSocket.setTrafficClass(int)
    unsupported
    net.i2p.util.KeyRing.renderStatusHTML(Writer)
    unused since 0.9.33; code moved to routerconsole
    net.i2p.util.LogManager.setConsoleBufferSize(int)
    unused
    net.i2p.util.LogManager.setDisplayOnScreen(boolean)
    unused
    net.i2p.util.LogManager.setDisplayOnScreenLevel(int)
    unused
    net.i2p.util.ShellCommand.execute(String)
    unused
    net.i2p.util.ShellCommand.executeAndWait(String)
    unused
    net.i2p.util.ShellCommand.executeAndWaitTimed(String, int)
    unused
    net.i2p.util.ShellCommand.executeSilent(String)
    unused
    net.i2p.util.ShellCommand.executeSilentAndWait(String)
    Use the String[] method
    net.i2p.util.ShellCommand.getErrorStream()
    unused
    net.i2p.util.ShellCommand.getInputStream()
    unused
    net.i2p.util.ShellCommand.getOutputStream()
    unused
    net.i2p.util.SimpleScheduler.getInstance()
    in 0.9.20, replaced by SimpleTimer2
    net.i2p.util.SimpleTimer.getInstance()
    use SimpleTimer2
    net.metanotion.util.skiplist.SkipList.print()
    goes to System.out
    net.metanotion.util.skiplist.SkipList.printSL()
    goes to System.out
    org.cybergarage.upnp.Action.setArgumentValues(ArgumentList)
    You should use one of the following methods instead:
    - Action.setInArgumentValues(ArgumentList)
    - Action.setOutArgumentValues(ArgumentList)
    org.cybergarage.upnp.ArgumentList.set(ArgumentList)
     
    org.json.simple.JsonArray.getEnum(int)
    2.3.0 Jsoner deprecated automatically serializing enums as Strings.
    org.json.simple.JsonObject.getBigDecimal(String)
    2.3.0 in favor of JsonObject.getBigDecimal(JsonKey)
    org.json.simple.JsonObject.getBigDecimalOrDefault(String, BigDecimal)
    2.3.0 in favor of JsonObject.getBigDecimalOrDefault(JsonKey)
    org.json.simple.JsonObject.getBoolean(String)
    2.3.0 in favor of JsonObject.getBoolean(JsonKey)
    org.json.simple.JsonObject.getBooleanOrDefault(String, boolean)
    2.3.0 in favor of JsonObject.getBooleanOrDefault(JsonKey)
    org.json.simple.JsonObject.getByte(String)
    2.3.0 in favor of JsonObject.getByte(JsonKey)
    org.json.simple.JsonObject.getByteOrDefault(String, byte)
    2.3.0 in favor of JsonObject.getByteOrDefault(JsonKey)
    org.json.simple.JsonObject.getCollection(String)
    2.3.0 in favor of JsonObject.getCollection(JsonKey)
    org.json.simple.JsonObject.getCollectionOrDefault(String, T)
    2.3.0 in favor of JsonObject.getCollectionOrDefault(JsonKey)
    org.json.simple.JsonObject.getDouble(String)
    2.3.0 in favor of JsonObject.getDouble(JsonKey)
    org.json.simple.JsonObject.getDoubleOrDefault(String, double)
    2.3.0 in favor of JsonObject.getDoubleOrDefault(JsonKey)
    org.json.simple.JsonObject.getEnum(String)
    2.3.0 in favor of JsonObject.getEnum(JsonKey)
    org.json.simple.JsonObject.getEnum(JsonKey)
    2.3.0 Jsoner deprecated automatically serializing enums as Strings.
    org.json.simple.JsonObject.getEnumOrDefault(String, T)
    2.3.0 in favor of JsonObject.getEnumOrDefault(JsonKey)
    org.json.simple.JsonObject.getEnumOrDefault(JsonKey)
    2.3.0 Jsoner deprecated automatically serializing enums as Strings.
    org.json.simple.JsonObject.getFloat(String)
    2.3.0 in favor of JsonObject.getFloat(JsonKey)
    org.json.simple.JsonObject.getFloatOrDefault(String, float)
    2.3.0 in favor of JsonObject.getFloatOrDefault(JsonKey)
    org.json.simple.JsonObject.getInteger(String)
    2.3.0 in favor of JsonObject.getInteger(JsonKey)
    org.json.simple.JsonObject.getIntegerOrDefault(String, int)
    2.3.0 in favor of JsonObject.getIntegerOrDefault(JsonKey)
    org.json.simple.JsonObject.getLong(String)
    2.3.0 in favor of JsonObject.getLong(JsonKey)
    org.json.simple.JsonObject.getLongOrDefault(String, long)
    2.3.0 in favor of JsonObject.getLongOrDefault(JsonKey)
    org.json.simple.JsonObject.getMap(String)
    2.3.0 in favor of JsonObject.getMap(JsonKey)
    org.json.simple.JsonObject.getMapOrDefault(String, T)
    2.3.0 in favor of JsonObject.getMapOrDefault(JsonKey)
    org.json.simple.JsonObject.getShort(String)
    2.3.0 in favor of JsonObject.getShort(JsonKey)
    org.json.simple.JsonObject.getShortOrDefault(String, short)
    2.3.0 in favor of JsonObject.getShortOrDefault(JsonKey)
    org.json.simple.JsonObject.getString(String)
    2.3.0 in favor of JsonObject.getString(JsonKey)
    org.json.simple.JsonObject.getStringOrDefault(String, String)
    2.3.0 in favor of JsonObject.getStringOrDefault(JsonKey)
    org.klomp.snark.Peer.compareTo(Peer)
    unused?
    org.klomp.snark.Peer.isRequesting(int)
    deadlocks
    org.klomp.snark.Peer.setInteresting(boolean)
    unused
    org.klomp.snark.PeerID.compareTo(PeerID)
    unused? and will NPE now that address can be null?
    org.klomp.snark.PeerState.isRequesting(int)
    deadlocks
    org.klomp.snark.WebPeer.setInteresting(boolean)
    org.minidns.dnsmessage.DnsMessage.Builder.setCheckDisabled(boolean)
    org.rrd4j.core.FetchData.get95Percentile(String)
    This method is deprecated. Uses instance of Variable.PERCENTILE, used with DataProcessor.addDatasource(String, String, Variable)
    org.rrd4j.core.FetchData.getAggregate(String, ConsolFun)
    This method is deprecated. Uses instance of Variable, used with DataProcessor.addDatasource(String, String, Variable)
    org.rrd4j.core.FetchData.getAggregates(String)
    This method is deprecated. Uses instance of Variable, used with DataProcessor.addDatasource(String, String, Variable)
    org.rrd4j.core.FetchData.getRpn95Percentile(String)
    This method is deprecated. Uses instance of Variable.PERCENTILE, used with DataProcessor.addDatasource(String, String, Variable)
    org.rrd4j.core.FetchData.getRpnAggregate(String, ConsolFun)
    This method is deprecated. Uses instance of Variable, used with DataProcessor.addDatasource(String, String, Variable)
    org.rrd4j.core.FetchData.getRpnAggregates(String)
    This method is deprecated. Uses instance of Variable, used with DataProcessor.addDatasource(String, String, Variable)
    org.rrd4j.core.RrdBackendFactory.addFactories(RrdBackendFactory...)
    Uses RrdBackendFactory.addActiveFactories(RrdBackendFactory...) instead.
    org.rrd4j.core.RrdBackendFactory.getFactory(String)
    Uses active factory instead
    org.rrd4j.core.RrdBackendFactory.registerAndSetAsDefaultFactory(RrdBackendFactory)
    Uses RrdBackendFactory.setActiveFactories(RrdBackendFactory...) instead.
    org.rrd4j.core.RrdBackendFactory.registerFactory(RrdBackendFactory)
    Uses active factory instead
    org.rrd4j.core.RrdBackendFactory.setDefaultFactory(String)
    Uses active factory instead
    org.rrd4j.core.RrdDb.setDefaultFactory(String)
    uses RrdBackendFactory.setActiveFactories(RrdBackendFactory...) instead.
    org.rrd4j.core.RrdDbPool.release(RrdDb)
    A RrdDb remember if it was open directly or from a pool, no need to manage it manually any more
    org.rrd4j.core.RrdDbPool.setDefaultFactory(RrdBackendFactory)
    the pool is no longer a singleton, create a new pool instead of changing it.
    org.rrd4j.core.RrdNioBackendFactory.setSyncThreadPool(ScheduledExecutorService)
    Create a custom instance instead
    org.rrd4j.core.RrdNioBackendFactory.setSyncThreadPool(RrdSyncThreadPool)
    Create a custom instance instead
    org.rrd4j.core.Util.getLastModified(String)
    use #getLastModifiedTime, that can throws exceptions if needed
    org.rrd4j.data.Aggregator.getAggregates(long, long)
    org.rrd4j.data.DataProcessor.addDatasource(String, String)
    Uses DataProcessor.datasource(String, String) instead
    org.rrd4j.data.DataProcessor.addDatasource(String, String, double)
    Use Variable based method instead.
    org.rrd4j.data.DataProcessor.addDatasource(String, String, String, ConsolFun)
    Uses DataProcessor.datasource(String, String, String, ConsolFun) instead.
    org.rrd4j.data.DataProcessor.addDatasource(String, String, String, ConsolFun, String)
    uses DataProcessor.datasource(String, String, String, ConsolFun, RrdBackendFactory) instead
    org.rrd4j.data.DataProcessor.addDatasource(String, String, String, ConsolFun, RrdBackendFactory)
    uses DataProcessor.datasource(String, String, String, ConsolFun, RrdBackendFactory) instead
    org.rrd4j.data.DataProcessor.addDatasource(String, String, ConsolFun)
    Use Variable based method instead.
    org.rrd4j.data.DataProcessor.addDatasource(String, String, FetchData)
    Uses DataProcessor.datasource(String, String, FetchData) instead.
    org.rrd4j.data.DataProcessor.addDatasource(String, String, Variable)
    Uses DataProcessor.datasource(String, String, Variable) instead.
    org.rrd4j.data.DataProcessor.addDatasource(String, FetchData)
    Uses DataProcessor.datasource(String, FetchData) instead.
    org.rrd4j.data.DataProcessor.addDatasource(String, Plottable)
    Uses DataProcessor.datasource(String, IPlottable) instead
    org.rrd4j.data.DataProcessor.get95Percentile(String)
    Use Variable based method instead.
    org.rrd4j.data.DataProcessor.getAggregate(String, ConsolFun)
    Use Variable based method instead.
    org.rrd4j.data.DataProcessor.getAggregates(String)
    Use Variable based method instead.
    org.rrd4j.data.DataProcessor.getEndingTimestamp()
    Uses DataProcessor.getEndTime() instead.
    org.rrd4j.data.DataProcessor.getPercentile(String)
    Use Variable based method instead.
    org.rrd4j.data.DataProcessor.getPercentile(String, double)
    Use Variable based method instead.
    org.rrd4j.data.Def.getAggregates(long, long)
    org.rrd4j.data.Def.getPercentile(long, long, double)
    org.rrd4j.data.LinearInterpolator.setInterpolationMethod(int)
    uses LinearInterpolator.setInterpolationMethod(Method) instead.
    org.rrd4j.data.Source.getAggregates(long, long)
    This method is deprecated. Uses instance of Variable, used with DataProcessor.addDatasource(String, String, Variable)
    org.rrd4j.data.Source.getPercentile(long, long, double)
    This method is deprecated. Uses instance of Variable.PERCENTILE, used with DataProcessor.addDatasource(String, String, Variable)
    org.rrd4j.graph.RrdGraph.getSmallFontHeight()
    org.rrd4j.graph.RrdGraphDef.datasource(String, String, String, ConsolFun, String)
    Uses RrdGraphDef.datasource(String, String, String, ConsolFun, RrdBackendFactory) instead
    org.rrd4j.graph.RrdGraphDef.datasource(String, String, ConsolFun)
    Use Variable based method instead.
    org.rrd4j.graph.RrdGraphDef.gprint(String, ConsolFun, String)
    Use Variable based method instead.
    org.rrd4j.graph.RrdGraphDef.percentile(String, String)
    Use Variable based method instead.
    org.rrd4j.graph.RrdGraphDef.percentile(String, String, double)
    Use Variable based method instead.
    org.rrd4j.graph.RrdGraphDef.print(String, ConsolFun, String)
    Use Variable based method instead.
    org.rrd4j.graph.RrdGraphDef.setColor(int, Paint)
    Using RrdGraphDef.setColor(ElementsNames, Paint)
    org.rrd4j.graph.RrdGraphDef.setColor(String, Paint)
    Using RrdGraphDef.setColor(ElementsNames, Paint)
    org.rrd4j.graph.RrdGraphDef.setLargeFont(Font)
    Use RrdGraphConstants.FontTag based method instead.
    org.rrd4j.graph.RrdGraphDef.setSmallFont(Font)
    Use RrdGraphConstants.FontTag based method instead.
  • Deprecated Constructors
    Constructor
    Description
    net.i2p.client.streaming.impl.I2PSocketManagerFull()
    use 4-arg constructor
    net.i2p.crypto.CryptixAESKeyCache()
    net.i2p.data.i2cp.BlindingInfoMessage(String, SessionId, int, int, SigType, PrivateKey, String)
    unimplemented on router side
    net.i2p.data.i2cp.BlindingInfoMessage(Hash, SessionId, int, int, SigType, PrivateKey, String)
    unimplemented on router side
    net.i2p.data.i2cp.SendMessageExpiresMessage(DateAndFlags)
    use 5-arg constructor
    net.i2p.i2ptunnel.I2PTunnelRunner(Socket, I2PSocket, Object, byte[], byte[], List<I2PSocket>)
    use FailCallback constructor
    net.i2p.i2ptunnel.I2PTunnelRunner(Socket, I2PSocket, Object, byte[], byte[], List<I2PSocket>, Runnable)
    use FailCallback constructor
    net.i2p.i2ptunnel.I2PTunnelRunner(Socket, I2PSocket, Object, byte[], List<I2PSocket>)
    use FailCallback constructor
    net.i2p.i2ptunnel.I2PTunnelRunner(Socket, I2PSocket, Object, byte[], List<I2PSocket>, Runnable)
    use FailCallback constructor
    net.i2p.router.crypto.ratchet.RatchetPayload.PaddingBlock(I2PAppContext, int)
    net.i2p.router.transport.GetBidsJob(RouterContext, TransportManager, OutNetMessage)
    unused, see static getBids()
    net.i2p.router.transport.udp.I2PHMac(MessageDigest)
    Use javax.crypto.Mac
    net.i2p.router.tunnel.HopProcessor(I2PAppContext, HopConfig)
    used only by unit tests
    net.i2p.router.tunnel.InboundEndpointProcessor(RouterContext, TunnelCreatorConfig)
    used only by unit tests
    net.i2p.util.SimpleScheduler(I2PAppContext)
    in 0.9.20, replaced by SimpleTimer2
    net.i2p.util.SimpleTimer(I2PAppContext)
    use SimpleTimer2
    org.klomp.snark.Snark(I2PSnarkUtil, String, String, int, StorageListener, CoordinatorListener, CompleteListener, PeerCoordinatorSet, ConnectionAcceptor, String)
    org.rrd4j.core.RrdDb(String)
    Use the builder instead.
    org.rrd4j.core.RrdDb(String, boolean)
    Use the builder instead.
    org.rrd4j.core.RrdDb(String, boolean, RrdBackendFactory)
    Use the builder instead.
    org.rrd4j.core.RrdDb(String, String)
    Use the builder instead.
    org.rrd4j.core.RrdDb(String, String, RrdBackendFactory)
    Use the builder instead.
    org.rrd4j.core.RrdDb(String, RrdBackendFactory)
    Use the builder instead.
    org.rrd4j.core.RrdDb(URI)
    Use the builder instead.
    org.rrd4j.core.RrdDb(URI, boolean)
    Use the builder instead.
    org.rrd4j.core.RrdDb(URI, String)
    Use the builder instead.
    org.rrd4j.core.RrdDb(RrdDef)
    Use the builder instead.
    org.rrd4j.core.RrdDb(RrdDef, RrdBackendFactory)
    Use the builder instead.
    org.rrd4j.graph.RrdGraphDef()
    Uses default value that will be probably overriden.
  • Deprecated Enum Constants
    Enum Constant
    Description
    com.google.zxing.EncodeHintType.MAX_SIZE
    without replacement
    com.google.zxing.EncodeHintType.MIN_SIZE
    use width/height params in com.google.zxing.datamatrix.DataMatrixWriter#encode(String, BarcodeFormat, int, int)
    org.minidns.constants.DnssecConstants.SignatureAlgorithm.RSAMD5