Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java @ 334:eb8dbfa7125d
Removed superfluous CollectionCallContext creation.
artifacts/trunk@2811 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 22 Sep 2011 15:32:54 +0000 |
parents | 089c6f7794b5 |
children | 542caebea773 |
comparison
equal
deleted
inserted
replaced
333:4f21bb238062 | 334:eb8dbfa7125d |
---|---|
1767 if (c == null) { | 1767 if (c == null) { |
1768 logger.warn("No collection found with identifier: " + collectionId); | 1768 logger.warn("No collection found with identifier: " + collectionId); |
1769 throw new ArtifactDatabaseException(NO_SUCH_COLLECTION); | 1769 throw new ArtifactDatabaseException(NO_SUCH_COLLECTION); |
1770 } | 1770 } |
1771 | 1771 |
1772 CollectionCallContext cc = new CollectionCallContext( | |
1773 ArtifactDatabaseImpl.this, | |
1774 CallContext.NOTHING, | |
1775 callMeta, | |
1776 c); | |
1777 | |
1778 return new DeferredCollectionOutputImpl(c, type, format, callMeta); | 1772 return new DeferredCollectionOutputImpl(c, type, format, callMeta); |
1779 } | 1773 } |
1780 | 1774 |
1781 protected void initCallContext(CallContext cc) { | 1775 protected void initCallContext(CallContext cc) { |
1782 logger.debug("initCallContext"); | 1776 logger.debug("initCallContext"); |