From 2b459d59d006c190c6b7513e17378b67c8162bf9 Mon Sep 17 00:00:00 2001 From: John Herrlin Date: Thu, 22 Oct 2020 06:52:22 -0400 Subject: [PATCH 2/3] 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. --- lisp/ob-java.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-java.el b/lisp/ob-java.el index e704c5552..65b8c3eba 100644 --- a/lisp/ob-java.el +++ b/lisp/ob-java.el @@ -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) -- 2.25.1