Skip to content

Commit 52e4be5

Browse files
authored
Merge pull request #344 from r-darwish/java-main-class
java: unify array creation of main and main_class
2 parents 221f2c3 + 47c9d24 commit 52e4be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/java-mode/main_class

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# --
66
class `(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`
77
{
8-
public static void main(String args[])
8+
public static void main(String[] args)
99
{
1010
$0
1111
}

0 commit comments

Comments
 (0)