diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 12:04:03 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 12:04:03 +0000 |
commit | 08918ce867f79347adfddbe41369674904ce7fbb (patch) | |
tree | 328fcaf6e92e29f71812a114ce323c2428cbab17 /app/models/repository | |
parent | 660d4fd546487c1a8180ed832a1ce92b081a286f (diff) | |
download | redmine-08918ce867f79347adfddbe41369674904ce7fbb.tar.gz redmine-08918ce867f79347adfddbe41369674904ce7fbb.zip |
cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in app/models/repository/cvs.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18954 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository')
-rw-r--r-- | app/models/repository/cvs.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb index c2f9fed25..d4fbb7267 100644 --- a/app/models/repository/cvs.rb +++ b/app/models/repository/cvs.rb @@ -58,7 +58,7 @@ class Repository::Cvs < Repository end entries = scm.entries(path, rev.nil? ? nil : rev.committed_on) if entries - entries.each() do |entry| + entries.each do |entry| if ( ! entry.lastrev.nil? ) && ( ! entry.lastrev.revision.nil? ) change = filechanges.where( :revision => entry.lastrev.revision, @@ -101,7 +101,7 @@ class Repository::Cvs < Repository if rev_to.to_i > 0 changeset_to = changesets.find_by_revision(rev_to) end - changeset_from.filechanges.each() do |change_from| + changeset_from.filechanges.each do |change_from| revision_from = nil revision_to = nil if path.nil? || (change_from.path.starts_with? scm.with_leading_slash(path)) @@ -109,7 +109,7 @@ class Repository::Cvs < Repository end if revision_from if changeset_to - changeset_to.filechanges.each() do |change_to| + changeset_to.filechanges.each do |change_to| revision_to = change_to.revision if change_to.path == change_from.path end end |