From: Toshi MARUYAMA Date: Sat, 19 Dec 2020 17:32:49 +0000 (+0000) Subject: remove redundant 'return' from app/models/changeset.rb X-Git-Tag: 4.2.0~146 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=818e813ef24bdee65bbf64eb91a7a7444403e32d;p=redmine.git remove redundant 'return' from app/models/changeset.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20676 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 76ac6fd3f..c53802222 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -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