[build] Add package declaration check to checkstyle (#2446)

Co-authored-by: Austin Shalit <austinshalit@gmail.com>
This commit is contained in:
Thad House
2020-06-26 11:10:34 -07:00
committed by GitHub
parent 3bcb89fb84
commit 3cbec411c7
8 changed files with 16 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
package frc.robot;
import edu.wpi.first.wpilibj.RobotBase;
public final class Main {
private Main() {
}
/**
* Main initialization function. Do not perform any initialization here.
*
* <p>If you change your main robot class, change the parameter type.
*/
public static void main(String... args) {
RobotBase.startRobot(MyRobot::new);
}
}