[PATCH] Moved chart metadata line to top of chart. Minor cleanup
Wald Commits
scm-commit at wald.intevation.org
Thu Jul 26 14:36:35 CEST 2018
# HG changeset patch
# User gernotbelger
# Date 1532608592 -7200
# Node ID 06257387b98f3d600c485446b7651ec6df6a6f82
# Parent 609ced80bcf01b938e5c999ccfb3ec017373102e
Moved chart metadata line to top of chart. Minor cleanup.
diff -r 609ced80bcf0 -r 06257387b98f artifact-database/src/main/java/org/dive4elements/artifactdatabase/CollectionCallContext.java
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/CollectionCallContext.java Thu Jun 28 19:16:06 2018 +0200
+++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/CollectionCallContext.java Thu Jul 26 14:36:32 2018 +0200
@@ -10,12 +10,10 @@
import java.util.LinkedList;
import org.apache.log4j.Logger;
-
import org.dive4elements.artifacts.ArtifactCollection;
import org.dive4elements.artifacts.CallMeta;
import org.dive4elements.artifacts.Message;
-
/**
* Class that implements the call context handed to ArtifactCollection specific
* operations.
@@ -29,51 +27,48 @@
/**
* The ArtifactCollection.
*/
- protected ArtifactCollection collection;
+ private final ArtifactCollection collection;
-
- public CollectionCallContext(
- ArtifactDatabaseImpl artifactDatabase,
- int action,
- CallMeta callMeta,
- ArtifactCollection collection)
- {
+ public CollectionCallContext(final ArtifactDatabaseImpl artifactDatabase, final int action, final CallMeta callMeta, final ArtifactCollection collection) {
super(artifactDatabase, action, callMeta);
this.collection = collection;
}
+ public ArtifactCollection getCollection() {
+ return this.collection;
+ }
- public void afterCall(int action) {
+ @Override
+ public void afterCall(final int action) {
log.debug("CollectionCallContext.afterCall - NOT IMPLEMENTED");
}
-
- public void afterBackground(int action) {
+ @Override
+ public void afterBackground(final int action) {
log.debug("CollectionCallContext.afterBackground - NOT IMPLEMENTED");
}
-
+ @Override
public boolean isInBackground() {
log.debug("CollectionCallContext.isInBackground - NOT IMPLEMENTED");
return false;
}
-
- public void addBackgroundMessage(Message msg) {
+ @Override
+ public void addBackgroundMessage(final Message msg) {
log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED");
}
-
+ @Override
public LinkedList<Message> getBackgroundMessages() {
log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED");
return null;
}
-
+ @Override
public Long getTimeToLive() {
log.debug("CollectionCallContext.getTimeToLive - NOT IMPLEMENTED");
return null;
}
-}
-// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
+}
\ No newline at end of file
More information about the Dive4Elements-commits
mailing list