Skip to content

Commit

Permalink
resolve some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tianchen92 committed Feb 5, 2020
1 parent 12810e4 commit 41e0ed5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,9 @@ public boolean isNull(int index) {
* @param index position of element
* @return true if element at given index is empty list, false otherwise
*/
@Override
public boolean isEmpty(int index) {
if (isSet(index) == 0) {
if (isNull(index)) {
return false;
} else {
final int start = offsetBuffer.getInt(index * OFFSET_WIDTH);
Expand Down

0 comments on commit 41e0ed5

Please sign in to comment.