From 28c9394008f6f98120f29d4a72f013d787a117aa Mon Sep 17 00:00:00 2001 From: nathanrsxtn Date: Tue, 1 Mar 2022 20:30:24 -0700 Subject: [PATCH] Rename workspace Organize imports Add end of file newlines --- workspace.code-workspace => 2022NoWayHome.code-workspace | 0 NetworkTablesDesktopClient/.gitignore | 4 ++-- NetworkTablesDesktopClient/.vscode/launch.json | 5 +---- NetworkTablesDesktopClient/build.gradle | 2 +- .../src/main/java/NetworkTablesDesktopClient.java | 1 - src/main/java/frc4388/robot/RobotContainer.java | 2 -- 6 files changed, 4 insertions(+), 10 deletions(-) rename workspace.code-workspace => 2022NoWayHome.code-workspace (100%) diff --git a/workspace.code-workspace b/2022NoWayHome.code-workspace similarity index 100% rename from workspace.code-workspace rename to 2022NoWayHome.code-workspace diff --git a/NetworkTablesDesktopClient/.gitignore b/NetworkTablesDesktopClient/.gitignore index 4295729..d5697ec 100644 --- a/NetworkTablesDesktopClient/.gitignore +++ b/NetworkTablesDesktopClient/.gitignore @@ -1,2 +1,2 @@ -build -bin \ No newline at end of file +build/ +bin/ diff --git a/NetworkTablesDesktopClient/.vscode/launch.json b/NetworkTablesDesktopClient/.vscode/launch.json index 8090904..bdf6e37 100644 --- a/NetworkTablesDesktopClient/.vscode/launch.json +++ b/NetworkTablesDesktopClient/.vscode/launch.json @@ -1,7 +1,4 @@ { - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { @@ -12,4 +9,4 @@ "projectName": "NetworkTablesDesktopClient" } ] -} \ No newline at end of file +} diff --git a/NetworkTablesDesktopClient/build.gradle b/NetworkTablesDesktopClient/build.gradle index 84f2ac7..8fbac1e 100644 --- a/NetworkTablesDesktopClient/build.gradle +++ b/NetworkTablesDesktopClient/build.gradle @@ -21,4 +21,4 @@ dependencies { implementation "edu.wpi.first.ntcore:ntcore-jni:2022.2.1:linuxx86-64" implementation "edu.wpi.first.ntcore:ntcore-jni:2022.2.1:linuxraspbian" implementation "edu.wpi.first.ntcore:ntcore-jni:2022.2.1:osxx86-64" -} \ No newline at end of file +} diff --git a/NetworkTablesDesktopClient/src/main/java/NetworkTablesDesktopClient.java b/NetworkTablesDesktopClient/src/main/java/NetworkTablesDesktopClient.java index 71b2297..d75c1c8 100644 --- a/NetworkTablesDesktopClient/src/main/java/NetworkTablesDesktopClient.java +++ b/NetworkTablesDesktopClient/src/main/java/NetworkTablesDesktopClient.java @@ -11,7 +11,6 @@ public class NetworkTablesDesktopClient { public static void main(String[] args) { NetworkTableInstance instance = NetworkTableInstance.getDefault(); instance.getTable("Recording").addEntryListener((table, key, entry, value, flags) -> { - // File file = new File(key); Path path = Path.of("..", "src", "main", "deploy", "pathplanner", key); File file = path.toFile(); try { diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index 7b81eaa..a86655f 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -6,7 +6,6 @@ package frc4388.robot; import java.io.File; import java.io.IOException; -import java.io.RandomAccessFile; import java.io.StringWriter; import java.nio.file.FileSystems; import java.nio.file.Path; @@ -43,7 +42,6 @@ import edu.wpi.first.math.geometry.Pose2d; import edu.wpi.first.math.geometry.Rotation2d; import edu.wpi.first.math.geometry.Translation2d; import edu.wpi.first.networktables.NetworkTable; -import edu.wpi.first.networktables.NetworkTableEntry; import edu.wpi.first.networktables.NetworkTableInstance; import edu.wpi.first.wpilibj.Filesystem; import edu.wpi.first.wpilibj.GenericHID;