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 55428 Details for
Bug 110771
Fup on bug 102305 - align all ICompilationUnit#getContents implementations on a 'never null' behavior
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_110771.txt (text/plain), 883 bytes, created by
Olivier Thomann
on 2006-12-11 14:52:27 EST
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-12-11 14:52:27 EST
Size:
883 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java,v >retrieving revision 1.49 >diff -u -r1.49 ClassFileWorkingCopy.java >--- model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java 29 Mar 2006 03:08:48 -0000 1.49 >+++ model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java 11 Dec 2006 19:49:45 -0000 >@@ -51,7 +51,9 @@ > > public char[] getContents() { > try { >- return getBuffer().getCharacters(); >+ char[] characters = getBuffer().getCharacters(); >+ if (characters == null) return CharOperation.NO_CHAR; >+ return characters; > } catch (JavaModelException e) { > return CharOperation.NO_CHAR; > }
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 110771
:
53801
|
55428
|
55468
|
55510