View | Details | Raw Unified | Return to bug 110771 | Differences between
and this patch

Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/core/ClassFileWorkingCopy.java (+2 lines)
Lines 51-56 Link Here
51
51
52
public char[] getContents() {
52
public char[] getContents() {
53
	try {
53
	try {
54
		IBuffer buffer = getBuffer();
55
		if (buffer == null) return CharOperation.NO_CHAR;
54
		return getBuffer().getCharacters();
56
		return getBuffer().getCharacters();
55
	} catch (JavaModelException e) {
57
	} catch (JavaModelException e) {
56
		return CharOperation.NO_CHAR;
58
		return CharOperation.NO_CHAR;

Return to bug 110771