From 818e813ef24bdee65bbf64eb91a7a7444403e32d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 19 Dec 2020 17:32:49 +0000 Subject: [PATCH] remove redundant 'return' from app/models/changeset.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20676 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/changeset.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5