mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Close the File Readers
To suppress the warnings and practice good IO.
This commit is contained in:
@@ -80,6 +80,9 @@ public class ShooterTables {
|
||||
|
||||
m_angleLength = lineNum-1;
|
||||
|
||||
distanceReader.close();
|
||||
angleReader.close();
|
||||
|
||||
} catch (FileNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user