From 1f93c6acb237bca77280c80cfb5cc0c5207faa5c Mon Sep 17 00:00:00 2001 From: Daniel Chen Date: Sat, 7 Dec 2024 22:59:06 -0500 Subject: [PATCH] Naming scheme changes --- .../epilogue/logging/LogBackedSendableBuilder.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/epilogue-runtime/src/main/java/edu/wpi/first/epilogue/logging/LogBackedSendableBuilder.java b/epilogue-runtime/src/main/java/edu/wpi/first/epilogue/logging/LogBackedSendableBuilder.java index d28e01f0593..cf018d9a9dc 100644 --- a/epilogue-runtime/src/main/java/edu/wpi/first/epilogue/logging/LogBackedSendableBuilder.java +++ b/epilogue-runtime/src/main/java/edu/wpi/first/epilogue/logging/LogBackedSendableBuilder.java @@ -24,10 +24,10 @@ /** A sendable builder implementation that sends data to a {@link EpilogueBackend}. */ @SuppressWarnings("PMD.CouplingBetweenObjects") // most methods simply delegate to the backend public class LogBackedSendableBuilder implements NTSendableBuilder { - private static final NetworkTable rootTable = NetworkTableInstance.getDefault().getTable("Robot"); + private static final NetworkTable m_rootTable = NetworkTableInstance.getDefault().getTable("Robot"); private final EpilogueBackend m_backend; private final Collection m_updates = new ArrayList<>(); - private final NetworkTable networkTable; + private final NetworkTable m_networkTable; /** * Creates a new sendable builder that delegates writes to an underlying backend. @@ -37,9 +37,9 @@ public class LogBackedSendableBuilder implements NTSendableBuilder { public LogBackedSendableBuilder(EpilogueBackend backend) { this.m_backend = backend; if (backend instanceof NestedBackend nb) { - networkTable = rootTable.getSubTable(nb.getPrefix()); + m_networkTable = m_rootTable.getSubTable(nb.getPrefix()); } else { - networkTable = rootTable; + m_networkTable = m_rootTable; } } @@ -200,7 +200,7 @@ public Topic getTopic(String key) { @Override public NetworkTable getTable() { - return networkTable; + return m_networkTable; } @Override