From 3b379c076dc5337955d7fb7cd7bfd4b0dd0a7677 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 24 Sep 2019 02:34:32 +0000 Subject: code cleanup: rubocop: fix Style/EmptyLiteral in lib/redmine/scm/adapters/cvs_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18506 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/cvs_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/redmine/scm') diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb index ba6134a18..6c6627935 100644 --- a/lib/redmine/scm/adapters/cvs_adapter.rb +++ b/lib/redmine/scm/adapters/cvs_adapter.rb @@ -176,7 +176,7 @@ module Redmine state = "entry_start" end if state == "entry_start" - branch_map = Hash.new + branch_map = {} if /^RCS file: #{Regexp.escape(root_url_path)}\/#{Regexp.escape(path_with_project_locale)}(.+),v$/ =~ line entry_path = normalize_cvs_path($1) entry_name = normalize_path(File.basename($1)) -- cgit v1.2.3