mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Fixing JDK 1.3 compatibility: TableModel.getRot() should not return null there.
This commit is contained in:
parent
482b413f4c
commit
4cc8c9cd28
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user