You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by lk...@apache.org on 2020/11/30 02:42:22 UTC

[netbeans] branch platform-primitive-wrappers created (now c43b5fb)

This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a change to branch platform-primitive-wrappers
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


      at c43b5fb  Try to fix NbClipboardNativeTest

This branch includes the following new commits:

     new c43b5fb  Try to fix NbClipboardNativeTest

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[netbeans] 01/01: Try to fix NbClipboardNativeTest

Posted by lk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch platform-primitive-wrappers
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit c43b5fb4b14125b82e126d39b77aa98bd239c1c4
Author: Laszlo Kishalmi <la...@gmail.com>
AuthorDate: Sun Nov 29 18:41:11 2020 -0800

    Try to fix NbClipboardNativeTest
---
 .../o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platform/o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java b/platform/o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java
index 41a24a5..b132854 100644
--- a/platform/o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java
+++ b/platform/o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java
@@ -220,7 +220,7 @@ public class NbClipboardNativeTest extends NbTestCase implements ClipboardListen
                         protected Object getData() throws IOException, UnsupportedFlavorException {
                             String s = (String)t2.getTransferData(DataFlavor.stringFlavor);
                             try {
-                                return s;
+                                return Integer.valueOf(s);
                             } catch (NumberFormatException nfe) {
                                 throw new IOException(nfe.toString());
                             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists