Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java @ 3076:5642a83420f2
FLYS artifacts: Removed trailing whitespace.
flys-artifacts/trunk@4670 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 09:30:07 +0000 |
parents | 238145ef67da |
children | cbe2febe30cc |
comparison
equal
deleted
inserted
replaced
3075:db9e2bb34707 | 3076:5642a83420f2 |
---|---|
82 private String SQL_DELETE_ARTIFACT_BY_GID = | 82 private String SQL_DELETE_ARTIFACT_BY_GID = |
83 "delete.artifact.by.gid"; | 83 "delete.artifact.by.gid"; |
84 | 84 |
85 protected SQLExecutor sqlExecutor; | 85 protected SQLExecutor sqlExecutor; |
86 | 86 |
87 public class InitialScan | 87 public class InitialScan |
88 implements ArtifactDatabase.ArtifactLoadedCallback | 88 implements ArtifactDatabase.ArtifactLoadedCallback |
89 { | 89 { |
90 protected LRUCache<String, Integer> users; | 90 protected LRUCache<String, Integer> users; |
91 protected LRUCache<String, Integer> collections; | 91 protected LRUCache<String, Integer> collections; |
92 protected LRUCache<String, Integer> artifacts; | 92 protected LRUCache<String, Integer> artifacts; |
400 } | 400 } |
401 return sum; | 401 return sum; |
402 } | 402 } |
403 | 403 |
404 protected static final void setString( | 404 protected static final void setString( |
405 PreparedStatement stmnt, | 405 PreparedStatement stmnt, |
406 int index, | 406 int index, |
407 Object value | 407 Object value |
408 ) | 408 ) |
409 throws SQLException | 409 throws SQLException |
410 { | 410 { |
411 if (value == null) { | 411 if (value == null) { |
412 stmnt.setNull(index, Types.VARCHAR); | 412 stmnt.setNull(index, Types.VARCHAR); |
413 } | 413 } |
480 public void setup(GlobalContext globalContext) { | 480 public void setup(GlobalContext globalContext) { |
481 log.debug("setup"); | 481 log.debug("setup"); |
482 } | 482 } |
483 | 483 |
484 public void createdArtifact( | 484 public void createdArtifact( |
485 Artifact artifact, | 485 Artifact artifact, |
486 Backend backend, | 486 Backend backend, |
487 GlobalContext context | 487 GlobalContext context |
488 ) { | 488 ) { |
489 log.debug("createdArtifact"); | 489 log.debug("createdArtifact"); |
490 | 490 |