[java] Don't generate main in implicit class with public modifier

#IDEA-369157 Fixed


(cherry picked from commit 6e8de88250b26b51e2f603eb04d751e1ea086a29)

IJ-CR-157703

GitOrigin-RevId: d7ec7c8e40e377d4e28c4f3f7b5b3d1944d6724c
This commit is contained in:
Bart van Helvert
2025-03-13 17:10:30 +01:00
committed by intellij-monorepo-bot
parent 4bb9865145
commit 345158158f
2 changed files with 4 additions and 6 deletions

View File

@@ -10,5 +10,5 @@ class A {
}
public void main() {
void main() {
}