This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 36262
Collapse All | Expand All

(-)src/org/openide/explorer/ExplorerActions.java (-1 / +5 lines)
Lines 514-520 Link Here
514
        }
514
        }
515
        
515
        
516
        public void actionPerformed(ActionEvent e) {
516
        public void actionPerformed(ActionEvent e) {
517
            throw new IllegalStateException ("Should not be invoked at all. Paste types: " + java.util.Arrays.asList (pasteTypes)); // NOI18N
517
            if (pasteTypes == null) {
518
                throw new IllegalStateException ("Should not be invoked at all. Paste types: null"); // NOI18N
519
            } else {
520
                throw new IllegalStateException ("Should not be invoked at all. Paste types: " + java.util.Arrays.asList (pasteTypes)); // NOI18N
521
            }
518
        }
522
        }
519
        
523
        
520
        public Object getValue (String s) {
524
        public Object getValue (String s) {

Return to bug 36262