Skip to content

Commit

Permalink
More java format updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel1464 committed Dec 8, 2024
1 parent 1f93c6a commit acd2b92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
/** 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 m_rootTable = NetworkTableInstance.getDefault().getTable("Robot");
private static final NetworkTable m_rootTable =
NetworkTableInstance.getDefault().getTable("Robot");
private final EpilogueBackend m_backend;
private final Collection<Runnable> m_updates = new ArrayList<>();
private final NetworkTable m_networkTable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ public NestedBackend(String prefix, EpilogueBackend impl) {
public EpilogueBackend getNested(String path) {
return m_nestedBackends.computeIfAbsent(path, k -> new NestedBackend(k, this));
}


/**
* Gets the prefix of this nested backend.
* @return the prefix of this nested backend
*/
public String getPrefix() {
return m_prefix;
}
Expand Down

0 comments on commit acd2b92

Please sign in to comment.