]> source.dussan.org Git - redmine.git/commitdiff
remove redundant 'return' from app/models/changeset.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Dec 2020 17:32:49 +0000 (17:32 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Dec 2020 17:32:49 +0000 (17:32 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20676 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/changeset.rb

index 76ac6fd3f3a4d8a6dacd5a2237ebeb1b77f9fa3c..c538022225e2982e224a4223585d85a33b8b7314 100644 (file)
@@ -289,7 +289,7 @@ class Changeset < ActiveRecord::Base
     comments =~ /\A(.+?)\r?\n(.*)$/m
     @short_comments = $1 || comments
     @long_comments = $2.to_s.strip
-    return @short_comments, @long_comments
+    [@short_comments, @long_comments]
   end
 
   # Singleton class method is public