summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-11 10:25:38 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-11 10:25:38 +0000
commit32a9937d4ecbc977b4ab7a3d39c994617b3bb293 (patch)
tree98d0a6d69a451696212ed82ca357e24a83977a3e /lib
parent0606dfdb62b1c4d8b65fdeaa187feeb04a364d1c (diff)
downloadredmine-32a9937d4ecbc977b4ab7a3d39c994617b3bb293.tar.gz
redmine-32a9937d4ecbc977b4ab7a3d39c994617b3bb293.zip
scm: code clean up abstract_adapter.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5404 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/abstract_adapter.rb16
1 files changed, 8 insertions, 8 deletions
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.