Permalink
Browse files

Removed assertion (which wasn't there before ee5c630 either), put the…

…re w/o running locally with -ea
  • Loading branch information...
tinwelint committed Aug 22, 2012
1 parent a519eb0 commit fb025c8cabcace8415209fa4d4b51e8aa0ad0173
Showing with 1 addition and 2 deletions.
  1. +1 −2 kernel/src/main/java/org/neo4j/kernel/impl/nioneo/store/PersistenceRow.java
@@ -155,8 +155,7 @@ void readFullWindow()
{
ByteBuffer byteBuffer = buffer.getBuffer();
byteBuffer.clear();
- int count = getFileChannel().read( byteBuffer, position * recordSize );
- assert count == recordSize;
+ getFileChannel().read( byteBuffer, position * recordSize );
byteBuffer.clear();
}
catch ( IOException e )

0 comments on commit fb025c8

Please sign in to comment.