1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 09:21:12 +00:00

code cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/diff.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18691 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-10-16 13:00:52 +00:00
parent 3f691ee4c2
commit 3f64c67c09
2 changed files with 4 additions and 10 deletions

View File

@ -244,12 +244,6 @@ Layout/IndentationConsistency:
Layout/IndentationWidth:
Enabled: false
# Cop supports --auto-correct.
# Configuration parameters: AllowDoxygenCommentStyle.
Layout/LeadingCommentSpace:
Exclude:
- 'lib/diff.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line

View File

@ -190,10 +190,10 @@ module Diffable
end
self[low] = value
# $stderr << "replace #{value} : 0/#{low}/#{init_high} (#{steps} steps) (#{init_high-low} off )\n"
# $stderr.puts self.inspect
#gets
#p length - low
# $stderr << "replace #{value} : 0/#{low}/#{init_high} (#{steps} steps) (#{init_high-low} off )\n"
# $stderr.puts self.inspect
# gets
# p length - low
return low
end