From: Toshi MARUYAMA Date: Mon, 11 Apr 2011 10:25:38 +0000 (+0000) Subject: scm: code clean up abstract_adapter.rb. X-Git-Tag: 1.2.0~448 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=32a9937d4ecbc977b4ab7a3d39c994617b3bb293;p=redmine.git scm: code clean up abstract_adapter.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5404 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 5addbfe09..1e7f39583 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -305,14 +305,14 @@ module Redmine def initialize(attributes={}) self.identifier = attributes[:identifier] - self.scmid = attributes[:scmid] - self.name = attributes[:name] || self.identifier - self.author = attributes[:author] - self.time = attributes[:time] - self.message = attributes[:message] || "" - self.paths = attributes[:paths] - self.revision = attributes[:revision] - self.branch = attributes[:branch] + self.scmid = attributes[:scmid] + self.name = attributes[:name] || self.identifier + self.author = attributes[:author] + self.time = attributes[:time] + self.message = attributes[:message] || "" + self.paths = attributes[:paths] + self.revision = attributes[:revision] + self.branch = attributes[:branch] end # Returns the readable identifier.