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:23 UTC
[netbeans] 01/01: Try to fix NbClipboardNativeTest
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