[build] Apply spotless for java formatting (#1768)

Update checkstyle config to be compatible with spotless.

Co-authored-by: Austin Shalit <austinshalit@gmail.com>
This commit is contained in:
Peter Johnson
2020-12-29 22:45:16 -08:00
committed by GitHub
parent e563a0b7db
commit a751fa22d2
883 changed files with 16526 additions and 17751 deletions

View File

@@ -4,17 +4,20 @@
package edu.wpi.first.wpiutil;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
class CircularBufferTest {
private final double[] m_values = {751.848, 766.366, 342.657, 234.252, 716.126,
132.344, 445.697, 22.727, 421.125, 799.913};
private final double[] m_addFirstOut = {799.913, 421.125, 22.727, 445.697, 132.344,
716.126, 234.252, 342.657};
private final double[] m_addLastOut = {342.657, 234.252, 716.126, 132.344, 445.697,
22.727, 421.125, 799.913};
private final double[] m_values = {
751.848, 766.366, 342.657, 234.252, 716.126, 132.344, 445.697, 22.727, 421.125, 799.913
};
private final double[] m_addFirstOut = {
799.913, 421.125, 22.727, 445.697, 132.344, 716.126, 234.252, 342.657
};
private final double[] m_addLastOut = {
342.657, 234.252, 716.126, 132.344, 445.697, 22.727, 421.125, 799.913
};
@Test
void addFirstTest() {

View File

@@ -4,10 +4,10 @@
package edu.wpi.first.wpiutil;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import org.junit.jupiter.api.Test;
public class WPIUtilJNITest {
@Test
public void testNow() {