Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 7132 Details for
Bug 48610
NPE in command support when starting the workbench
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for NPE
npe.txt (text/plain), 812 bytes, created by
Tod Creasey
on 2003-12-11 17:30:02 EST
(
hide
)
Description:
Patch for NPE
Filename:
MIME Type:
Creator:
Tod Creasey
Created:
2003-12-11 17:30:02 EST
Size:
812 bytes
patch
obsolete
>Index: CompoundCommandHandlerService.java >=================================================================== >retrieving revision 1.5 >diff -u -r1.5 CompoundCommandHandlerService.java >--- CompoundCommandHandlerService.java 10 Dec 2003 19:22:09 -0000 1.5 >+++ CompoundCommandHandlerService.java 11 Dec 2003 22:12:31 -0000 >@@ -103,8 +103,13 @@ > > if (!handlersByCommandId.containsKey(commandId)) > handlersByCommandId.put(commandId, handler); >- else if (!handlersByCommandId.get(commandId).equals(handler)) >- handlersByCommandId.put(commandId, null); >+ else{ >+ Object cachedHandler = handlersByCommandId.get(commandId); >+ >+ if (!(cachedHandler == null || cachedHandler.equals(handler))) >+ handlersByCommandId.put(commandId, null); >+ } >+ > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48610
: 7132