From 82180e52ad8919ba13d1e0ad3370e35dbd72be1a Mon Sep 17 00:00:00 2001 From: GreenBloodDev Date: Fri, 13 Oct 2023 10:26:57 +0200 Subject: [PATCH] make it static --- src/main/java/pl/nightdev701/OpenAPI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/pl/nightdev701/OpenAPI.java b/src/main/java/pl/nightdev701/OpenAPI.java index 6a9719b..668f061 100644 --- a/src/main/java/pl/nightdev701/OpenAPI.java +++ b/src/main/java/pl/nightdev701/OpenAPI.java @@ -102,7 +102,7 @@ public static BaseKey getValueKey(UUID value) { /** * manipulate System.out */ - public OpenPrintStream getPrintStream() throws FileNotFoundException { + public static OpenPrintStream getPrintStream() throws FileNotFoundException { return new OpenPrintStream(); } @@ -110,7 +110,7 @@ public OpenPrintStream getPrintStream() throws FileNotFoundException { * manipulate System.out * @param logger */ - public OpenPrintStream getPrintStream(AbstractLogger logger) throws FileNotFoundException { + public static OpenPrintStream getPrintStream(AbstractLogger logger) throws FileNotFoundException { return new OpenPrintStream(logger); }