Fix Typos (NFC) (#5137)

This commit is contained in:
sciencewhiz
2023-02-26 15:06:37 -08:00
committed by GitHub
parent ce3686b80d
commit 4af84a1c12
71 changed files with 95 additions and 95 deletions

View File

@@ -13,8 +13,8 @@ public class SampleFixture implements ITestFixture {
public void setup() {
/*
* If this fixture actually accessed the hardware, here is where it would
* set up the starting state of the test bench. For example, reseting
* encoders, ensuring motors are stopped, reseting any serial communication
* set up the starting state of the test bench. For example, resetting
* encoders, ensuring motors are stopped, resetting any serial communication
* if necessary, etc.
*/
}

View File

@@ -72,7 +72,7 @@ public class FakeCounterSource implements AutoCloseable {
}
}
/** Common initailization code. */
/** Common initialization code. */
private void initEncoder() {
m_milliSec = 1;
m_task = new EncoderThread(this);
@@ -95,7 +95,7 @@ public class FakeCounterSource implements AutoCloseable {
Timer.delay(0.01);
}
/** Starts and completes a task set - does not return until thred has finished its operations. */
/** Starts and completes a task set - does not return until thread has finished its operations. */
public void execute() {
start();
complete();

View File

@@ -75,7 +75,7 @@ public class FakePotentiometerSource implements AutoCloseable {
return voltage * (m_potMaxAngle / m_potMaxVoltage);
}
/** Frees the resouce. */
/** Frees the resource. */
@Override
public void close() {
if (m_initOutput) {

View File

@@ -60,9 +60,9 @@ public class AntJunitLauncher {
FormatterElement.TypeAttribute type = new FormatterElement.TypeAttribute();
type.setValue("xml");
FormatterElement formater = new FormatterElement();
formater.setType(type);
task.addFormatter(formater);
FormatterElement formatter = new FormatterElement();
formatter.setType(type);
task.addFormatter(formatter);
// Create the JUnitTest
JUnitTest test = new JUnitTest(TestSuite.class.getName());