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 (-1 / +3 lines)
Lines 51-57 Link Here
51
51
52
public char[] getContents() {
52
public char[] getContents() {
53
	try {
53
	try {
54
		return getBuffer().getCharacters();
54
		char[] characters = getBuffer().getCharacters();
55
		if (characters == null) return CharOperation.NO_CHAR;
56
		return characters;
55
	} catch (JavaModelException e) {
57
	} catch (JavaModelException e) {
56
		return CharOperation.NO_CHAR;
58
		return CharOperation.NO_CHAR;
57
	}
59
	}

Return to bug 110771