Fixing JDK 1.3 compatibility: TableModel.getRot() should not return null there.

This commit is contained in:
igor%mir2.org 2004-06-30 09:38:54 +00:00
parent 482b413f4c
commit 4cc8c9cd28

View File

@ -1105,9 +1105,11 @@ class Evaluator extends JTable {
}
}
class VariableModel implements TreeTableModel {
class VariableModel implements TreeTableModel
{
static class VariableNode {
static class VariableNode
{
Object object;
Object id;
VariableNode[] children;
@ -1155,7 +1157,9 @@ class VariableModel implements TreeTableModel {
public Object getRoot()
{
if (debugger == null) { return null; }
if (debugger == null) {
return "";
}
return root;
}