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.

Bug 84803 - [sendopts] Never use null values in OptionProcessor values map
Summary: [sendopts] Never use null values in OptionProcessor values map
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 57611
  Show dependency tree
 
Reported: 2006-09-13 14:47 UTC by Jesse Glick
Modified: 2008-12-22 15:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-09-13 14:47:00 UTC
Should use new String[0] instead for cases:

1. {without,optional}Argument where no arg specified.

2. OptionGroup
Comment 1 Jaroslav Tulach 2006-09-18 13:55:39 UTC
Checking in test/unit/src/org/netbeans/api/sendopts/Provider.java;
/shared/data/ccvs/repository/contrib/sendopts/test/unit/src/org/netbeans/api/sendopts/Attic/Provider.java,v  
<--  Provider.java
new revision: 1.1.2.7; previous revision: 1.1.2.6
done
Checking in test/unit/src/org/netbeans/api/sendopts/NoArgumentOptsTest.java;
/shared/data/ccvs/repository/contrib/sendopts/test/unit/src/org/netbeans/api/sendopts/NoArgumentOptsTest.java,v  
<--  NoArgumentOptsTest.java
new revision: 1.6.2.6; previous revision: 1.6.2.5
done
Checking in 
test/unit/src/org/netbeans/api/sendopts/OptionalArgumentOptsTest.java;
/shared/data/ccvs/repository/contrib/sendopts/test/unit/src/org/netbeans/api/sendopts/OptionalArgumentOptsTest.java,v  
<--  OptionalArgumentOptsTest.java
new revision: 1.5.2.5; previous revision: 1.5.2.4
done
Checking in src/org/netbeans/modules/sendopts/OptionImpl.java;
/shared/data/ccvs/repository/contrib/sendopts/src/org/netbeans/modules/sendopts/OptionImpl.java,v  
<--  OptionImpl.java
new revision: 1.24.2.18; previous revision: 1.24.2.17
done