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 23826 Details for
Bug 101080
NPE during computePriority for problems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Tentative patch - not fully tested yet
org.eclipse.jdt.core_01.txt (text/plain), 872 bytes, created by
Maxime Daniel
on 2005-06-23 04:19:05 EDT
(
hide
)
Description:
Tentative patch - not fully tested yet
Filename:
MIME Type:
Creator:
Maxime Daniel
Created:
2005-06-23 04:19:05 EDT
Size:
872 bytes
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java,v >retrieving revision 1.41 >diff -u -r1.41 CompilationResult.java >--- compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java 6 Jun 2005 18:24:55 -0000 1.41 >+++ compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java 23 Jun 2005 08:04:46 -0000 >@@ -112,12 +112,12 @@ > } else { > priority += P_OUTSIDE_METHOD; > } >+ if (firstErrors.contains(problem)){ // if context is null, firstErrors is null too >+ priority += P_FIRST_ERROR; >+ } > } else { > priority += P_OUTSIDE_METHOD; > } >- if (firstErrors.contains(problem)){ >- priority += P_FIRST_ERROR; >- } > return priority; > } >
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 101080
:
23826
|
26912