lib/picky/query/token.rb in picky-3.6.7 vs lib/picky/query/token.rb in picky-3.6.8
- old
+ new
@@ -130,10 +130,10 @@
#
# Note: The dup isn't too nice – since it is needed on account of the shift, above.
# (We avoid a StopIteration exception. Which of both is less evil?)
#
def generate_similarity_for bundle
- bundle.similar(@text).dup || []
+ bundle.similar(@text) || []
end
# Splits text into a qualifier and text.
#
@@split_qualifier_text = ':'
\ No newline at end of file