From d401a7e60abc74be381c419c89a147709e6e68e3 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 13 Aug 2017 07:43:34 -0400 Subject: [PATCH] minor code formating fix --- .../data/nvdcve/ConnectionFactory.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/ConnectionFactory.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/ConnectionFactory.java index 829fdad27..e7a815c4c 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/ConnectionFactory.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/ConnectionFactory.java @@ -82,6 +82,11 @@ public final class ConnectionFactory { * The password for the database. */ private static String password = null; + /** + * Counter to ensure that calls to ensureSchemaVersion does not end up in an + * endless loop. + */ + private static int callDepth = 0; /** * Private constructor for this factory class; no instance is ever needed. @@ -369,12 +374,6 @@ public final class ConnectionFactory { } } - /** - * Counter to ensure that calls to ensureSchemaVersion does not end up in an - * endless loop. - */ - private static int callDepth = 0; - /** * Uses the provided connection to check the specified schema version within * the database.