From d2776d8254fa4afc64a8828da7d30886c2d35ac2 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Fri, 3 Feb 2023 09:09:49 +0100 Subject: [PATCH] Backport: Add test for java indentation (bug#61115) * test/lisp/progmodes/java-ts-mode-resources/indent.erts: Add new test case. (cherry picked from commit 229d0772e235f51812ed8020a31f9a8de366c7ba) --- test/lisp/progmodes/java-ts-mode-resources/indent.erts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/lisp/progmodes/java-ts-mode-resources/indent.erts b/test/lisp/progmodes/java-ts-mode-resources/indent.erts index e59d5fed8e8..c8e0ac71708 100644 --- a/test/lisp/progmodes/java-ts-mode-resources/indent.erts +++ b/test/lisp/progmodes/java-ts-mode-resources/indent.erts @@ -42,3 +42,12 @@ if (x) { return; } =-=-= + +Name: Field declaration without access modifier (bug#61115) + +=-= +public class T { + @Autowired + String a; +} +=-=-= -- 2.39.2