From bb3fe508f98ec31109f951fb059ee49746a36d48 Mon Sep 17 00:00:00 2001 From: Robert Godfrey Date: Fri, 27 Jan 2012 20:15:31 +0000 Subject: NO-JIRA: Encapsulate fields, use private members and accesors (keep checkstyle happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236867 13f79535-47bb-0310-9956-ffa450edef68 --- .../qpid/server/store/berkeleydb/BDBStoreUpgrade.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'qpid/java/bdbstore/src/main') diff --git a/qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java b/qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java index d814401b8d..7e402e3320 100644 --- a/qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java +++ b/qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java @@ -80,21 +80,21 @@ public class BDBStoreUpgrade { private static final Logger _logger = LoggerFactory.getLogger(BDBStoreUpgrade.class); /** The Store Directory that needs upgrading */ - File _fromDir; + private File _fromDir; /** The Directory that will be made to contain the upgraded store */ - File _toDir; + private File _toDir; /** The Directory that will be made to backup the original store if required */ - File _backupDir; + private File _backupDir; /** The Old Store */ - BDBMessageStore _oldMessageStore; + private BDBMessageStore _oldMessageStore; /** The New Store */ - BDBMessageStore _newMessageStore; + private BDBMessageStore _newMessageStore; /** The file ending that is used by BDB Store Files */ private static final String BDB_FILE_ENDING = ".jdb"; static final Options _options = new Options(); - static CommandLine _commandLine; + private static CommandLine _commandLine; private boolean _interactive; private boolean _force; @@ -615,8 +615,8 @@ public class BDBStoreUpgrade DatabaseVisitor contentVisitor = new DatabaseVisitor() { - long _prevMsgId = -1; //Initialise to invalid value - int _bytesSeenSoFar = 0; + private long _prevMsgId = -1; //Initialise to invalid value + private int _bytesSeenSoFar = 0; public void visit(DatabaseEntry key, DatabaseEntry value) throws DatabaseException { -- cgit v1.2.1