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 55468 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]
Other proposed fix
v00.txt (text/plain), 832 bytes, created by
Frederic Fusier
on 2006-12-12 04:08:22 EST
(
hide
)
Description:
Other proposed fix
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2006-12-12 04:08:22 EST
Size:
832 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 12 Dec 2006 09:01:40 -0000 >@@ -51,6 +51,8 @@ > > public char[] getContents() { > try { >+ IBuffer buffer = getBuffer(); >+ if (buffer == null) return CharOperation.NO_CHAR; > return getBuffer().getCharacters(); > } 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