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 167767 Details for
Bug 269042
NPE in copySignatures method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch to check for null argument
patch-bug269042.txt (text/plain), 1.42 KB, created by
Carlin Rogers
on 2010-05-10 13:48:06 EDT
(
hide
)
Description:
patch to check for null argument
Filename:
MIME Type:
Creator:
Carlin Rogers
Created:
2010-05-10 13:48:06 EDT
Size:
1.42 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.jsf.common >Index: src/org/eclipse/jst/jsf/context/symbol/internal/impl/IJavaTypeDescriptor2Impl.java >=================================================================== >RCS file: /cvsroot/webtools/org.eclipse.jsf/components/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/context/symbol/internal/impl/IJavaTypeDescriptor2Impl.java,v >retrieving revision 1.12 >diff -u -r1.12 IJavaTypeDescriptor2Impl.java >--- src/org/eclipse/jst/jsf/context/symbol/internal/impl/IJavaTypeDescriptor2Impl.java 1 Oct 2007 04:29:44 -0000 1.12 >+++ src/org/eclipse/jst/jsf/context/symbol/internal/impl/IJavaTypeDescriptor2Impl.java 10 May 2010 17:35:58 -0000 >@@ -230,14 +230,17 @@ > > private void copySignatures(List list, IType[] types) > { >- for (int i = 0; i < types.length; i++) >+ if (types != null) > { >- final IType type_ = types[i]; >- final String signature = TypeUtil.getSignature(type_); >- >- if (signature != null) >+ for (int i = 0; i < types.length; i++) > { >- list.add(signature); >+ final IType type_ = types[i]; >+ final String signature = TypeUtil.getSignature(type_); >+ >+ if (signature != null) >+ { >+ list.add(signature); >+ } > } > } > }
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 269042
: 167767