From 15c8ec1460f9089481a51868545374d09964db9e Mon Sep 17 00:00:00 2001 From: Miles Vella <673-vella@users.noreply.gitlab.cs.uni-duesseldorf.de> Date: Fri, 21 Feb 2025 01:01:37 +0100 Subject: [PATCH] remove useless static --- .../resources/de/hhu/stups/codegenerator/JavaTemplate.stg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/de/hhu/stups/codegenerator/JavaTemplate.stg b/src/main/resources/de/hhu/stups/codegenerator/JavaTemplate.stg index 4685cf60..690cd649 100644 --- a/src/main/resources/de/hhu/stups/codegenerator/JavaTemplate.stg +++ b/src/main/resources/de/hhu/stups/codegenerator/JavaTemplate.stg @@ -681,15 +681,15 @@ public static final class <name>Constructor implements BObject { private <name>Constructor() { } - public static <name>Destructor inverse() { + public <name>Destructor inverse() { return <name>Destructor.INSTANCE; } - public static <name> functionCall(<subtype> value) { + public <name> functionCall(<subtype> value) { return new <name>(value); } - public static BBoolean isInRange(<freetype> o) { + public BBoolean isInRange(<freetype> o) { return new BBoolean(o instanceof <name>); } @@ -724,7 +724,7 @@ public static final class <name>Destructor implements BObject { private <name>Destructor() { } - public static <subtype> functionCall(<freetype> value) { + public <subtype> functionCall(<freetype> value) { return ((<name>) value).getValue(); } -- GitLab