Removed deprecated API methods
This commit is contained in:
parent
f185bc07a6
commit
860636d067
|
@ -29,18 +29,6 @@ package appeng.api.features;
|
||||||
*/
|
*/
|
||||||
public interface ILocatableRegistry
|
public interface ILocatableRegistry
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Attempts to find the object with the serial specified, if it can it
|
|
||||||
* returns the object.
|
|
||||||
*
|
|
||||||
* @param serial serial
|
|
||||||
*
|
|
||||||
* @return requestedObject, or null
|
|
||||||
*
|
|
||||||
* @deprecated use {@link ILocatableRegistry#getLocatableBy(long)}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Object findLocatableBySerial( long serial );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the {@link ILocatable} with the registered serial, if available
|
* Gets the {@link ILocatable} with the registered serial, if available
|
||||||
|
|
|
@ -60,16 +60,6 @@ public final class LocatableRegistry implements ILocatableRegistry
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Find a locate-able object by its serial.
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
@Deprecated
|
|
||||||
public Object findLocatableBySerial( final long ser )
|
|
||||||
{
|
|
||||||
return this.set.get( ser );
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ILocatable getLocatableBy( final long serial )
|
public ILocatable getLocatableBy( final long serial )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue