From 860636d067d89ef33c667650efb5580572dad7d3 Mon Sep 17 00:00:00 2001 From: yueh Date: Sat, 17 Sep 2016 15:08:47 +0200 Subject: [PATCH] Removed deprecated API methods --- .../java/appeng/api/features/ILocatableRegistry.java | 12 ------------ .../core/features/registries/LocatableRegistry.java | 10 ---------- 2 files changed, 22 deletions(-) diff --git a/src/api/java/appeng/api/features/ILocatableRegistry.java b/src/api/java/appeng/api/features/ILocatableRegistry.java index 6c9d6225..d73305c2 100644 --- a/src/api/java/appeng/api/features/ILocatableRegistry.java +++ b/src/api/java/appeng/api/features/ILocatableRegistry.java @@ -29,18 +29,6 @@ package appeng.api.features; */ 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 diff --git a/src/main/java/appeng/core/features/registries/LocatableRegistry.java b/src/main/java/appeng/core/features/registries/LocatableRegistry.java index 53ffac7f..1a099307 100644 --- a/src/main/java/appeng/core/features/registries/LocatableRegistry.java +++ b/src/main/java/appeng/core/features/registries/LocatableRegistry.java @@ -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 public ILocatable getLocatableBy( final long serial ) {