mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-11-26 23:51:57 +00:00
changed assertion
This commit is contained in:
parent
a569a8aee7
commit
e3625c4e0f
@ -192,21 +192,23 @@ class Cell implements Comparable<Cell>, Value
|
||||
@Override
|
||||
public String getText ()
|
||||
{
|
||||
assert type == CellType.VALUE;
|
||||
assert type == CellType.VALUE : "Cell type: " + type;
|
||||
return value.getText ();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isError ()
|
||||
{
|
||||
assert type == CellType.VALUE;
|
||||
assert type == CellType.VALUE : "Cell type: " + type;
|
||||
return value.isError ();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNotAvailable ()
|
||||
{
|
||||
assert type == CellType.VALUE;
|
||||
// assert type == CellType.VALUE : "Cell type: " + type;
|
||||
if (!isValue ())
|
||||
return true;
|
||||
return value.isNotAvailable ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user