mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-20 19:24:20 +00:00
ob-java.el: Fix spacing in generated main method
* lisp/ob-java.el: Correct Indentation of closing curly braces when the default main method is used.
This commit is contained in:
parent
6edfc2b57c
commit
045ab0096a
@ -218,7 +218,7 @@ RESULT-FILE is the temp file to write the result."
|
||||
(org-babel-java--move-past org-babel-java--class-re)
|
||||
(insert "\n public static void main(String[] args) {
|
||||
System.out.print(\"success\");
|
||||
}\n\n"))
|
||||
}\n\n"))
|
||||
|
||||
;; special handling to return value
|
||||
(when (eq result-type 'value)
|
||||
|
Loading…
Reference in New Issue
Block a user