From 6f6985e0f4d44e0de6d8eb0af5ae3dad5be9f585 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Fri, 3 Jan 2025 03:49:06 -0800 Subject: [PATCH] write lookup name in comment --- .../main/java/com/rusefi/output/GetOutputValueConsumer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java_tools/configuration_definition/src/main/java/com/rusefi/output/GetOutputValueConsumer.java b/java_tools/configuration_definition/src/main/java/com/rusefi/output/GetOutputValueConsumer.java index f17dc19a32..a081a9d8b0 100644 --- a/java_tools/configuration_definition/src/main/java/com/rusefi/output/GetOutputValueConsumer.java +++ b/java_tools/configuration_definition/src/main/java/com/rusefi/output/GetOutputValueConsumer.java @@ -92,7 +92,7 @@ static String wrapSwitchStatement(StringBuilder switchBody) { } @NotNull - static StringBuilder getGetters(StringBuilder switchBody, List getterPairs) { + public static StringBuilder getGetters(StringBuilder switchBody, List getterPairs) { HashMap hashConflicts = getHashConflicts(getterPairs); StringBuilder getterBody = new StringBuilder(); @@ -107,6 +107,7 @@ static StringBuilder getGetters(StringBuilder switchBody, List g if (hashConflicts.get(hash).get() == 1) { switchBody.append(before); switchBody.append("\t\tcase " + hash + ":\n"); + switchBody.append("\t\t\t// " + pair.getUserName() + "\n"); switchBody.append("\t" + returnLine); switchBody.append(after); } else {