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