From: Toshi MARUYAMA Date: Fri, 2 Oct 2020 12:58:35 +0000 (+0000) Subject: remove space inside parentheses from lib/redmine/scm/adapters/abstract_adapter.rb X-Git-Tag: 4.2.0~717 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=da3b237706be1a718513c3dce978546beca98863;p=redmine.git remove space inside parentheses from lib/redmine/scm/adapters/abstract_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20100 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 3d3f50442..dcdcbdfa6 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -430,7 +430,7 @@ module Redmine module ScmData def self.binary?(data) unless data.empty? - data.count( "^ -~", "^\r\n" ).fdiv(data.size) > 0.3 || data.index( "\x00" ) + data.count("^ -~", "^\r\n").fdiv(data.size) > 0.3 || data.index("\x00") end end end