summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-06-20 12:15:28 +0000
committerGo MAEDA <maeda@farend.jp>2019-06-20 12:15:28 +0000
commitc2b30f5d3d17369b35a4945da98eb5ae5a3b1a94 (patch)
treedbbb91120e42d47094a445f5212e7dbbe13fb838 /lib/redmine/scm
parentbed26b30dfdb4e270487f54545fbaa464861e804 (diff)
downloadredmine-c2b30f5d3d17369b35a4945da98eb5ae5a3b1a94.tar.gz
redmine-c2b30f5d3d17369b35a4945da98eb5ae5a3b1a94.zip
Code cleanup: RuboCop: Style/DefWithParentheses
git-svn-id: http://svn.redmine.org/redmine/trunk@18290 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 f0f4d54df..ff642054e 100644
--- a/lib/redmine/scm/adapters/cvs_adapter.rb
+++ b/lib/redmine/scm/adapters/cvs_adapter.rb
@@ -445,7 +445,7 @@ module Redmine
end
# Interpretiert die cvs revisionsnummern wie z.b. 1.14 oder 1.3.0.15
- def parseRevision()
+ def parseRevision
pieces = @complete_rev.split(".")
@revision = pieces.last.to_i
baseSize = 1