summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-24 02:34:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-24 02:34:32 +0000
commit3b379c076dc5337955d7fb7cd7bfd4b0dd0a7677 (patch)
tree9b34735112478dd5873e243292f323cfc035c3b2 /lib/redmine/scm
parent3aef7783423fc47a987bad6df060ad69a06221dc (diff)
downloadredmine-3b379c076dc5337955d7fb7cd7bfd4b0dd0a7677.tar.gz
redmine-3b379c076dc5337955d7fb7cd7bfd4b0dd0a7677.zip
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
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r--lib/redmine/scm/adapters/cvs_adapter.rb2
1 files changed, 1 insertions, 1 deletions
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))