]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/enumeration.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 16:44:50 +0000 (16:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 16:44:50 +0000 (16:44 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19270 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/enumeration.rb

index 3453552a5dc9d9760abcb4e5e1fc5649cd7ee9d8..70dda077b6856115bd6aad752ebd3d1f69801052 100644 (file)
@@ -105,7 +105,8 @@ class Enumeration < ActiveRecord::Base
 
   # Does the +new+ Hash override the previous Enumeration?
   def self.overriding_change?(new, previous)
-    if (same_active_state?(new['active'], previous.active)) && same_custom_values?(new,previous)
+    if (same_active_state?(new['active'], previous.active)) &&
+          same_custom_values?(new, previous)
       return false
     else
       return true