Revision 1497
Added by Jing Tao almost 22 years ago
src/edu/ucsb/nceas/metacat/ElementNode.java | ||
---|---|---|
60 | 60 |
util.debugMessage("Got Node ID: " + currentNode.nodeid + |
61 | 61 |
" (" + currentNode.parentnodeid + |
62 | 62 |
", " + currentNode.nodeindex + |
63 |
", " + currentNode.nodetype + ")"); |
|
63 |
", " + currentNode.nodetype + ")", 50);
|
|
64 | 64 |
// Process the current node |
65 | 65 |
setNodeType(currentNode.nodetype); |
66 | 66 |
setNodeID(currentNode.nodeid); |
... | ... | |
72 | 72 |
util.debugMessage(" Processing child: " + currentNode.nodeid + |
73 | 73 |
" (" + currentNode.parentnodeid + |
74 | 74 |
", " + currentNode.nodeindex + |
75 |
", " + currentNode.nodetype + ")"); |
|
75 |
", " + currentNode.nodetype + ")", 50);
|
|
76 | 76 |
|
77 | 77 |
if ((currentNode.nodetype).equals("ELEMENT")) { |
78 |
util.debugMessage("Creating child node: " + currentNode.nodeid); |
|
78 |
util.debugMessage("Creating child node: " + currentNode.nodeid, 50);
|
|
79 | 79 |
ElementNode child = new ElementNode(nodeRecordList, |
80 | 80 |
currentNode.nodeid); |
81 | 81 |
addChildNode(child); |
... | ... | |
103 | 103 |
util.debugMessage(" Discarding child: " + currentNode.nodeid + |
104 | 104 |
" (" + currentNode.parentnodeid + |
105 | 105 |
", " + currentNode.nodeindex + |
106 |
", " + currentNode.nodetype + ")"); |
|
106 |
", " + currentNode.nodetype + ")", 50);
|
|
107 | 107 |
} |
108 | 108 |
} |
109 | 109 |
} |
Also available in: Unified diff
Chagnge debugMessage prototype.