mirror of
https://github.com/redmine/redmine.git
synced 2026-03-03 11:01:24 +01: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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user