]> source.dussan.org Git - redmine.git/commitdiff
remove space inside parentheses from lib/redmine/scm/adapters/abstract_adapter.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 2 Oct 2020 12:58:35 +0000 (12:58 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 2 Oct 2020 12:58:35 +0000 (12:58 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20100 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/abstract_adapter.rb

index 3d3f504422e661ec391534ddc48201971d6ebbbc..dcdcbdfa6f760672e3e423832ec4bc15d7d7923a 100644 (file)
@@ -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