Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1
-
Component/s: None
-
Labels:None
Description
I don't follow the logic of this assertion
public final void seek(long _pos)
{
assert(pos < 0);
public final void seek(long _pos)
{
assert(pos < 0);
Attachments
Issue Links
- relates to
-
TR-354 Unit tests should pass with assertions enabled
-
- Resolved
-
Given that the following line is:
this.pos = _pos;
what would actually make sense is:
assert(pos >= 0);