comment
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/e210b9a6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/e210b9a6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/e210b9a6 Branch: refs/heads/feature/GEODE-1464 Commit: e210b9a61d3900b948116534b5863df1e6f559ec Parents: 414ed21 Author: Darrel Schneider <[email protected]> Authored: Wed Jun 1 16:43:52 2016 -0700 Committer: Darrel Schneider <[email protected]> Committed: Wed Jun 1 16:43:52 2016 -0700 ---------------------------------------------------------------------- .../internal/logging/ManagerLogWriter.java | 34 -------------------- 1 file changed, 34 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e210b9a6/geode-core/src/main/java/com/gemstone/gemfire/internal/logging/ManagerLogWriter.java ---------------------------------------------------------------------- diff --git a/geode-core/src/main/java/com/gemstone/gemfire/internal/logging/ManagerLogWriter.java b/geode-core/src/main/java/com/gemstone/gemfire/internal/logging/ManagerLogWriter.java index 28419fc..8f67963 100644 --- a/geode-core/src/main/java/com/gemstone/gemfire/internal/logging/ManagerLogWriter.java +++ b/geode-core/src/main/java/com/gemstone/gemfire/internal/logging/ManagerLogWriter.java @@ -331,40 +331,6 @@ public class ManagerLogWriter extends LocalLogWriter { } } - /* This method is only used by sqlfabric, use getLogNameForOldMainLog instead - xzhou - * - */ -// public static File getMainLogName(File log) { -// /* -// * this is just searching for the existing logfile name -// * we need to search for meta log file name -// * -// */ -// File dir = log.getAbsoluteFile().getParentFile(); -// int previousMainId = calcNextMainId(dir, true); -// // comment out the following to fix bug 31789 -//// if (previousMainId > 1) { -//// previousMainId--; -//// } -// previousMainId--; -// File result = null; -// do { -// previousMainId++; -// StringBuffer buf = new StringBuffer(log.getPath()); -// int insertIdx = buf.lastIndexOf("."); -// if (insertIdx == -1) { -// buf -// .append(formatId(previousMainId)) -// .append(formatId(1)); -// } else { -// buf.insert(insertIdx, formatId(1)); -// buf.insert(insertIdx, formatId(previousMainId)); -// } -// result = new File(buf.toString()); -// } while (result.exists()); -// return result; -// } - /** * as a fix for bug #41474 we use "." if getParentFile returns null */
