[hg] main/contrib: Bug 220870 - NPE: org.netbeans.module.copyfqn...

  • From: Michel Graciano < >
  • To:
  • Subject: [hg] main/contrib: Bug 220870 - NPE: org.netbeans.module.copyfqn...
  • Date: Wed, 06 Feb 2013 03:16:57 -0800

changeset a2a369755e1c in main/contrib ((none))
details: http://hg.netbeans.org/main/contrib/rev/a2a369755e1c
description:
        Bug 220870 - NPE: 
org.netbeans.module.copyfqn.actions.CopyFQNAction.setClipboardContents

diffstat:

 
o.n.module.copyfqn/src/org/netbeans/module/copyfqn/actions/CopyFQNAction.java 
|  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff --git 
a/o.n.module.copyfqn/src/org/netbeans/module/copyfqn/actions/CopyFQNAction.java
 
b/o.n.module.copyfqn/src/org/netbeans/module/copyfqn/actions/CopyFQNAction.java
--- 
a/o.n.module.copyfqn/src/org/netbeans/module/copyfqn/actions/CopyFQNAction.java
+++ 
b/o.n.module.copyfqn/src/org/netbeans/module/copyfqn/actions/CopyFQNAction.java
@@ -202,7 +202,6 @@
         if (clipboard != null) {
             if (content == null) {
                 StatusDisplayer.getDefault().setStatusText("");
-                clipboard.setContents(null, null);
             } else {
                 StatusDisplayer.getDefault().setStatusText("Clipboard: " + 
content);
                 clipboard.setContents(new StringSelection(content), null);

[hg] main/contrib: Bug 220870 - NPE: org.netbeans.module.copyfqn...

Michel Graciano 02/06/2013

Project Features

About this Project

Contrib was started in November 2009, is owned by Jiří Kovalský, and has 254 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close