aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/rails
diff options
context:
space:
mode:
authorViktar Basharymau <viktar.basharymau@thehamon.com>2014-05-22 17:44:25 +0300
committerViktar Basharymau <viktar.basharymau@thehamon.com>2014-05-22 17:44:25 +0300
commiteba8b70d4ec7239694b026bef3c07e5ad82efe69 (patch)
treeb0d3b08c3fe77265cb266c45cbb80033656a71a4 /activerecord/lib/rails
parent66dd216705c9401cfa559a52910df80bd9c7808b (diff)
downloadrails-eba8b70d4ec7239694b026bef3c07e5ad82efe69.tar.gz
rails-eba8b70d4ec7239694b026bef3c07e5ad82efe69.tar.bz2
rails-eba8b70d4ec7239694b026bef3c07e5ad82efe69.zip
Use `break` instead of `next` in AD::Journey::Formatter#match_route
The array is sorted in descending order, so there is no point in iterating further if we met a negative item - all the rest will be negative too.
Diffstat (limited to 'activerecord/lib/rails')
0 files changed, 0 insertions, 0 deletions