comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java @ 1624:238145ef67da

Cosmetics. flys-artifacts/trunk@2799 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 21 Sep 2011 13:01:25 +0000
parents eccf966fb677
children 5642a83420f2
comparison
equal deleted inserted replaced
1623:0221451a24fe 1624:238145ef67da
486 Backend backend, 486 Backend backend,
487 GlobalContext context 487 GlobalContext context
488 ) { 488 ) {
489 log.debug("createdArtifact"); 489 log.debug("createdArtifact");
490 490
491 if (artifact == null) {
492 log.warn("artifact to create is null");
493 return;
494 }
495
491 if (!(artifact instanceof FLYSArtifact)) { 496 if (!(artifact instanceof FLYSArtifact)) {
492 log.warn("need FLYSArtifact here"); 497 log.warn("need FLYSArtifact here (have " + artifact.getClass() + ")");
493 return; 498 return;
494 } 499 }
495 500
496 final FLYSArtifact flys = (FLYSArtifact)artifact; 501 final FLYSArtifact flys = (FLYSArtifact)artifact;
497 502
534 Backend backend, 539 Backend backend,
535 GlobalContext context 540 GlobalContext context
536 ) { 541 ) {
537 log.debug("storedArtifact"); 542 log.debug("storedArtifact");
538 if (!(artifact instanceof FLYSArtifact)) { 543 if (!(artifact instanceof FLYSArtifact)) {
539 log.warn("need FLYSArtifact here"); 544 log.warn("need FLYSArtifact here but have a " + artifact.getClass());
540 return; 545 return;
541 } 546 }
542 547
543 final FLYSArtifact flys = (FLYSArtifact)artifact; 548 final FLYSArtifact flys = (FLYSArtifact)artifact;
544 549

http://dive4elements.wald.intevation.org