Enable checkstyle on cscore, ntcore, wpiutil (#1032)

Also update to version 8.10.
This commit is contained in:
Austin Shalit
2018-05-24 00:31:04 -04:00
committed by Peter Johnson
parent ecfe95383c
commit 40cc743cc7
142 changed files with 1038 additions and 970 deletions

View File

@@ -56,24 +56,36 @@ public class RuntimeDetector {
}
}
/**
* Get the file prefix for the current system.
*/
public static synchronized String getFilePrefix() {
computePlatform();
return filePrefix;
}
/**
* Get the file extension for the current system.
*/
public static synchronized String getFileExtension() {
computePlatform();
return fileExtension;
}
/**
* Get the platform path for the current system.
*/
public static synchronized String getPlatformPath() {
computePlatform();
return filePath;
}
/**
* Get the path to the requested resource.
*/
public static synchronized String getLibraryResource(String libName) {
computePlatform();