Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollectionFactory.java @ 367:6431b7efe240
Cosmetics.
artifacts/trunk@3680 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 16 Jan 2012 08:58:36 +0000 |
parents | 942a54670a72 |
children | f367be55dd35 |
comparison
equal
deleted
inserted
replaced
366:1f51f3c46efe | 367:6431b7efe240 |
---|---|
132 ) { | 132 ) { |
133 try { | 133 try { |
134 ArtifactCollection collection = | 134 ArtifactCollection collection = |
135 (ArtifactCollection) clazz.newInstance(); | 135 (ArtifactCollection) clazz.newInstance(); |
136 | 136 |
137 collection.setup(identifier, name, creationTime, ttl, this, context, data); | 137 collection.setup(identifier, |
138 name, | |
139 creationTime, | |
140 ttl, | |
141 this, | |
142 context, | |
143 data); | |
138 | 144 |
139 return collection; | 145 return collection; |
140 } | 146 } |
141 catch (InstantiationException ie) { | 147 catch (InstantiationException ie) { |
142 logger.error(ie.getLocalizedMessage(), ie); | 148 logger.error(ie.getLocalizedMessage(), ie); |