mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
NPE fix for Devin.
This commit is contained in:
parent
208aa6b61e
commit
1834447dce
1 changed files with 2 additions and 0 deletions
|
@ -470,6 +470,8 @@ public class DOMASTNodeLeaf implements IAdaptable {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getValueString(Object obj) {
|
private String getValueString(Object obj) {
|
||||||
|
if (obj == null) return NULL_STRING;
|
||||||
|
|
||||||
StringBuffer buffer = new StringBuffer();
|
StringBuffer buffer = new StringBuffer();
|
||||||
|
|
||||||
if (obj.getClass().isPrimitive()) {
|
if (obj.getClass().isPrimitive()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue