Skip to content

Commit

Permalink
WPIformatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRedness committed Nov 20, 2023
1 parent da67865 commit 8ea76f1
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ private List<CameraConfiguration> matchUSBCameras(
if (config.otherPaths.length == 0) {
logger.debug("No valid path-by-id found for config with name " + config.baseName);
} else {

// attempt matching by path and basename
logger.debug(
"Trying to find a match for loaded camera "
Expand Down Expand Up @@ -453,7 +452,6 @@ private boolean containsName(
* @return If the list of cameras contains the unique name.
*/
private boolean containsName(final String uniqueName) {

return VisionModuleManager.getInstance().getModules().stream()
.anyMatch(camera -> camera.visionSource.cameraConfiguration.uniqueName.equals(uniqueName));
}
Expand Down

0 comments on commit 8ea76f1

Please sign in to comment.