Commit 22a5ca2f authored by Costin Grigoras's avatar Costin Grigoras
Browse files

Remove redundant null check (SpotBugs)

parent 87e52de0
......@@ -148,9 +148,6 @@ public class OrphanPFNsCleanup {
try {
for (final Host h : CatalogueUtils.getAllHosts())
try (DBFunctions db = h.getDB()) {
if (db == null)
db.query("SELECT distinct se FROM orphan_pfns;");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment