[#32222] JMenu codestyle (Fix #2185)