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 |
} |