groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 01/04: fix unintended illegal access
Date Thu, 18 Apr 2019 12:06:44 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 079428f1e82b1c74575d782e2b8b90b8f603f345
Author: Paul King <paulk@asert.com.au>
AuthorDate: Thu Apr 18 13:32:28 2019 +1000

    fix unintended illegal access
---
 .../groovy-swing/src/test/groovy/groovy/swing/SwingBuilderTest.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/subprojects/groovy-swing/src/test/groovy/groovy/swing/SwingBuilderTest.groovy
b/subprojects/groovy-swing/src/test/groovy/groovy/swing/SwingBuilderTest.groovy
index 9e6e1b1..61537dd 100644
--- a/subprojects/groovy-swing/src/test/groovy/groovy/swing/SwingBuilderTest.groovy
+++ b/subprojects/groovy-swing/src/test/groovy/groovy/swing/SwingBuilderTest.groovy
@@ -379,8 +379,8 @@ class SwingBuilderTest extends GroovySwingTestCase {
 
             def swing = new SwingBuilder()
             swing.panel(layout: new BorderLayout()) {
-                label(id: 'label0', text: 'Name0', mnemonic: 48)
-                label(id: 'label1', text: 'Name1', mnemonic: 'N')
+                label(id: 'label0', text: 'Name0', displayedMnemonic: 48)
+                label(id: 'label1', text: 'Name1', displayedMnemonic: 'N' as char)
             }
             int expected0 = '0'
             int expected1 = 'N'


Mime
View raw message