Removed extra newlines after open curly braces (#935)

Generated by wpilibsuite/styleguide#115.
This commit is contained in:
Tyler Veness
2018-05-15 23:57:24 -07:00
committed by Peter Johnson
parent 938d5379e6
commit adb6098353
19 changed files with 0 additions and 26 deletions

View File

@@ -16,7 +16,6 @@ package edu.wpi.first.wpilibj;
* before use.
*/
public interface CounterBase {
/**
* The number of edges for the counterbase to increment or decrement on.
*/

View File

@@ -16,7 +16,6 @@ import edu.wpi.first.wpilibj.smartdashboard.SendableBuilder;
*/
@Deprecated
public interface NamedSendable extends Sendable {
/**
* The name of the subtable.
*

View File

@@ -9,7 +9,6 @@ package edu.wpi.first.wpilibj;
@SuppressWarnings("SummaryJavadoc")
public interface PIDInterface extends Controller {
@SuppressWarnings("ParameterName")
void setPID(double p, double i, double d);

View File

@@ -12,7 +12,6 @@ package edu.wpi.first.wpilibj;
*/
@FunctionalInterface
public interface PIDOutput {
/**
* Set the output to the value calculated by PIDController.
*

View File

@@ -273,7 +273,6 @@ public class RobotDrive implements MotorSafety {
* @param squaredInputs Setting this parameter to true decreases the sensitivity at lower speeds
*/
public void tankDrive(double leftValue, double rightValue, boolean squaredInputs) {
if (!kTank_Reported) {
HAL.report(tResourceType.kResourceType_RobotDrive, getNumMotors(),
tInstances.kRobotDrive_Tank);

View File

@@ -52,7 +52,6 @@ public abstract class Trigger extends SendableBase {
*/
public void whenActive(final Command command) {
new ButtonScheduler() {
private boolean m_pressedLast = grab();
@Override
@@ -79,7 +78,6 @@ public abstract class Trigger extends SendableBase {
*/
public void whileActive(final Command command) {
new ButtonScheduler() {
private boolean m_pressedLast = grab();
@Override
@@ -104,7 +102,6 @@ public abstract class Trigger extends SendableBase {
*/
public void whenInactive(final Command command) {
new ButtonScheduler() {
private boolean m_pressedLast = grab();
@Override
@@ -128,7 +125,6 @@ public abstract class Trigger extends SendableBase {
*/
public void toggleWhenActive(final Command command) {
new ButtonScheduler() {
private boolean m_pressedLast = grab();
@Override
@@ -156,7 +152,6 @@ public abstract class Trigger extends SendableBase {
*/
public void cancelWhenActive(final Command command) {
new ButtonScheduler() {
private boolean m_pressedLast = grab();
@Override

View File

@@ -222,7 +222,6 @@ public class CommandGroup extends Command {
}
while (m_currentCommandIndex < m_commands.size()) {
if (cmd != null) {
if (entry.isTimedOut()) {
cmd._cancel();

View File

@@ -144,7 +144,6 @@ public class Scheduler extends SendableBase implements Sendable {
// Only add if not already in
if (!m_commandTable.containsKey(command)) {
// Check that the requirements can be had
Enumeration requirements = command.getRequirements();
while (requirements.hasMoreElements()) {
@@ -192,7 +191,6 @@ public class Scheduler extends SendableBase implements Sendable {
* SmartDashboard</li> <li>Add Commands</li> <li>Add Defaults</li> </ol>
*/
public void run() {
m_runningCommandsChanged = false;
if (m_disabled) {

View File

@@ -17,7 +17,6 @@ public class SortedVector<E> extends Vector<E> {
* Interface used to determine the order to place sorted objects.
*/
public interface Comparator {
/**
* Compare the given two objects.
*