From d1b3fa2238e650e28d7b8353c57175bdf6dbd26a Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 10 Dec 2021 11:07:37 +0100 Subject: [PATCH] Fix LinkageUtils Signed-off-by: yoyosource --- .../src/de/steamwar/bausystem/linkage/LinkageUtils.java | 2 -- BauSystem_Main/src/de/steamwar/bausystem/linkage/Linked.java | 1 - 2 files changed, 3 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/linkage/LinkageUtils.java b/BauSystem_Main/src/de/steamwar/bausystem/linkage/LinkageUtils.java index 429d96cc..85f41d5a 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/linkage/LinkageUtils.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/linkage/LinkageUtils.java @@ -41,12 +41,10 @@ public class LinkageUtils { public void link() { internalLinkOrUnlink(false, Linked.class); - internalLinkOrUnlink(false, Linked.Linkages.class); internalLinkFields(); } public void unlink() { - internalLinkOrUnlink(true, Linked.Linkages.class); internalLinkOrUnlink(true, Linked.class); } diff --git a/BauSystem_Main/src/de/steamwar/bausystem/linkage/Linked.java b/BauSystem_Main/src/de/steamwar/bausystem/linkage/Linked.java index ff447ed0..2096d1ac 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/linkage/Linked.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/linkage/Linked.java @@ -30,7 +30,6 @@ import java.lang.annotation.*; public @interface Linked { LinkageType value(); - @IndexAnnotated @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) @interface Linkages {