Skip to content

Commit

Permalink
suppress wrnings
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed Aug 13, 2024
1 parent f8895fe commit 54c0a09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

package edu.wpi.first.epilogue;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import edu.wpi.first.epilogue.logging.DataLogger;
import edu.wpi.first.epilogue.logging.NTDataLogger;
import edu.wpi.first.epilogue.logging.errors.ErrorHandler;
Expand All @@ -26,10 +27,10 @@ public class EpilogueConfiguration {
public DataLogger dataLogger = new NTDataLogger(NetworkTableInstance.getDefault());

/** The period Epilogue will log at. */
public Measure<Time> loggingPeriod;
@SuppressFBWarnings public Measure<Time> loggingPeriod;

/** The offset from the periodic run that Epilogue will log at. */
public Measure<Time> loggingPeriodOffset;
@SuppressFBWarnings public Measure<Time> loggingPeriodOffset;

/**
* The minimum importance level of data to be logged. Defaults to debug, which logs data of all
Expand Down
2 changes: 2 additions & 0 deletions shared/java/javacommon.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ dependencies {
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

devImplementation sourceSets.main.output

compileOnly 'com.github.spotbugs:spotbugs-annotations:6.0.2' // should be kept inline with spotbugs version
}

task run(type: JavaExec) {
Expand Down

0 comments on commit 54c0a09

Please sign in to comment.