[PATCH 1 of 4] Make debug functions of D4EArtifact public
Wald Commits
scm-commit at wald.intevation.org
Mon Aug 19 11:41:37 CEST 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1376901327 -7200
# Node ID fbbba09ac6a802f4c98b5fe420bef38104c3af95
# Parent 8d98e18258462e2269a7a475242642bf957e9304
Make debug functions of D4EArtifact public
I find it useful to trigger those in debug code wherever I like.
And as this is code only for debugging it should not be a problem.
diff -r 8d98e1825846 -r fbbba09ac6a8 artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java Mon Aug 19 10:55:52 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java Mon Aug 19 10:35:27 2013 +0200
@@ -1491,7 +1491,7 @@
/**
* Method to dump the artifacts state/data.
*/
- protected void dumpArtifact() {
+ public void dumpArtifact() {
log.debug("++++++++++++++ DUMP ARTIFACT DATA +++++++++++++++++");
// Include uuid, type, name
log.debug(" - Name: " + getName());
@@ -1525,7 +1525,7 @@
}
- protected void debugFacets() {
+ public void debugFacets() {
log.debug("######### FACETS #########");
for (Map.Entry<String, List<Facet>> entry: facets.entrySet()) {
@@ -1541,7 +1541,7 @@
}
- protected void dumpFilterFacets() {
+ public void dumpFilterFacets() {
log.debug("######## FILTER FACETS ########");
if (filterFacets == null || filterFacets.isEmpty()) {
More information about the Dive4elements-commits
mailing list