groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: GROOVY-8718: add missing import
Date Thu, 09 Aug 2018 11:53:15 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X dd0381a74 -> ed0815e5b


GROOVY-8718: add missing import


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/ed0815e5
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/ed0815e5
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/ed0815e5

Branch: refs/heads/GROOVY_2_5_X
Commit: ed0815e5ba3acde6688053288bc7df9bd433a880
Parents: dd0381a
Author: Paul King <paulk@asert.com.au>
Authored: Thu Aug 9 21:52:30 2018 +1000
Committer: Paul King <paulk@asert.com.au>
Committed: Thu Aug 9 21:53:03 2018 +1000

----------------------------------------------------------------------
 .../src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy             | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/ed0815e5/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy
----------------------------------------------------------------------
diff --git a/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy
b/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy
index f77973c..8b25190 100644
--- a/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy
+++ b/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy
@@ -27,6 +27,7 @@ def jdk9plus = VMPluginFactory.getPlugin().getVersion() > 8
 if (!handler) {
     try {
         handler = build(jdk9plus ? """
+import java.awt.Desktop
 def handler = Desktop.getDesktop()
 handler.setAboutHandler(controller.&showAbout)
 handler.setQuitHandler(controller.&exit)


Mime
View raw message