Skip to content

Commit 2cf7f3e

Browse files
committed
move code for readability
1 parent cd12dd0 commit 2cf7f3e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/boilerpipe/document/text_block.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@ def merge_next(other)
6767
@offset_blocks_start = [@offset_blocks_start, other.offset_blocks_start].min
6868
@offset_blocks_end = [@offset_blocks_end, other.offset_blocks_end].max
6969
@content |= other.is_content?
70-
init_densities
71-
7270
@labels.merge(other.labels.clone)
71+
init_densities
7372

7473
@tag_level = [@tag_level, other.tag_level].min
7574
end

0 commit comments

Comments
 (0)