From bcb15f4f856f9221439ad0336938a946ea8f077f Mon Sep 17 00:00:00 2001 From: SpaiR Date: Thu, 18 Aug 2022 21:28:12 +0300 Subject: [PATCH] Fix checkstyle --- imgui-binding/src/main/java/imgui/ImGui.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/imgui-binding/src/main/java/imgui/ImGui.java b/imgui-binding/src/main/java/imgui/ImGui.java index 53dc20a6..dd04ce7b 100644 --- a/imgui-binding/src/main/java/imgui/ImGui.java +++ b/imgui-binding/src/main/java/imgui/ImGui.java @@ -16,6 +16,7 @@ import java.nio.file.Paths; import java.nio.file.StandardCopyOption; +@SuppressWarnings("checkstyle:HideUtilityClassConstructor") public class ImGui { private static final String LIB_PATH_PROP = "imgui.library.path"; private static final String LIB_NAME_PROP = "imgui.library.name"; @@ -95,7 +96,7 @@ private static String tryLoadFromClasspath(final String fullLibName) { /** * For internal usage. * Method is used to initiate static instantiation (loading of the native libraries etc.). - * Otherwise native libraries will be loaded on demand and natively mapped objects won't work. + * Otherwise, native libraries will be loaded on demand and natively mapped objects won't work. */ public static void init() { } @@ -165,10 +166,6 @@ public static boolean combo(final String label, final ImInt currentItem, final S return flag; */ - // Widgets: Input with Keyboard - // - If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp. - // - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc. - /*JNI jmethodID jImStringResizeInternalMID;