groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 05/05: don't use deprecated version of resources
Date Wed, 18 Sep 2019 09:59:41 GMT
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 5a03bcf0463da605b15c71540d3275ad48433677
Author: Paul King <paulk@asert.com.au>
AuthorDate: Wed Sep 18 19:28:30 2019 +1000

    don't use deprecated version of resources
---
 .../groovy-console/src/main/groovy/groovy/console/ui/Console.groovy | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy b/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy
index 712a449..c5a6473 100644
--- a/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy
+++ b/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy
@@ -217,9 +217,9 @@ class Console implements CaretListener, HyperlinkListener, ComponentListener,
Fo
     Closure beforeExecution
     Closure afterExecution
 
-    public static URL ICON_PATH = Console.class.classLoader.getResource('groovy/ui/ConsoleIcon.png')
+    public static URL ICON_PATH = Console.class.classLoader.getResource('groovy/console/ui/ConsoleIcon.png')
     // used by ObjectBrowser and AST Viewer
-    public static URL NODE_ICON_PATH = Console.class.classLoader.getResource('groovy/ui/icons/bullet_green.png')
+    public static URL NODE_ICON_PATH = Console.class.classLoader.getResource('groovy/console/ui/icons/bullet_green.png')
     // used by AST Viewer
 
     static groovyFileFilter = new GroovyFileFilter()
@@ -394,7 +394,7 @@ class Console implements CaretListener, HyperlinkListener, ComponentListener,
Fo
                 frame(
                         title: 'GroovyConsole',
                         //location: [100,100], // in groovy 2.0 use platform default location
-                        iconImage: imageIcon('/groovy/ui/ConsoleIcon.png').image,
+                        iconImage: imageIcon('/groovy/console/ui/ConsoleIcon.png').image,
                         defaultCloseOperation: JFrame.DO_NOTHING_ON_CLOSE,
                 ) {
                     try {


Mime
View raw message