mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
SCRIPT Run java package replacements
This commit is contained in:
committed by
Peter Johnson
parent
12823a003d
commit
f0a3c64121
@@ -2,17 +2,17 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import edu.wpi.first.datalog.DataLog;
|
||||
import edu.wpi.first.datalog.DataLogBackgroundWriter;
|
||||
import edu.wpi.first.datalog.FileLogger;
|
||||
import edu.wpi.first.datalog.IntegerLogEntry;
|
||||
import edu.wpi.first.datalog.StringLogEntry;
|
||||
import edu.wpi.first.hal.HAL;
|
||||
import edu.wpi.first.networktables.NetworkTableInstance;
|
||||
import edu.wpi.first.util.WPIUtilJNI;
|
||||
import edu.wpi.first.util.concurrent.Event;
|
||||
import org.wpilib.datalog.DataLog;
|
||||
import org.wpilib.datalog.DataLogBackgroundWriter;
|
||||
import org.wpilib.datalog.FileLogger;
|
||||
import org.wpilib.datalog.IntegerLogEntry;
|
||||
import org.wpilib.datalog.StringLogEntry;
|
||||
import org.wpilib.hardware.hal.HAL;
|
||||
import org.wpilib.networktables.NetworkTableInstance;
|
||||
import org.wpilib.util.WPIUtilJNI;
|
||||
import org.wpilib.util.concurrent.Event;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import static edu.wpi.first.units.Units.Seconds;
|
||||
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
|
||||
import static org.wpilib.units.Units.Seconds;
|
||||
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
|
||||
|
||||
import edu.wpi.first.hal.NotifierJNI;
|
||||
import edu.wpi.first.units.measure.Frequency;
|
||||
import edu.wpi.first.units.measure.Time;
|
||||
import org.wpilib.hardware.hal.NotifierJNI;
|
||||
import org.wpilib.units.measure.Frequency;
|
||||
import org.wpilib.units.measure.Time;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import edu.wpi.first.hal.util.AllocationException;
|
||||
import edu.wpi.first.hal.util.CheckedAllocationException;
|
||||
import org.wpilib.hardware.hal.util.AllocationException;
|
||||
import org.wpilib.hardware.hal.util.CheckedAllocationException;
|
||||
|
||||
/**
|
||||
* Track resources in the program. The Resource class is a convenient way of keeping track of
|
||||
|
||||
@@ -2,22 +2,22 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import static edu.wpi.first.units.Units.Amps;
|
||||
import static edu.wpi.first.units.Units.Celsius;
|
||||
import static edu.wpi.first.units.Units.Microseconds;
|
||||
import static edu.wpi.first.units.Units.Volts;
|
||||
import static org.wpilib.units.Units.Amps;
|
||||
import static org.wpilib.units.Units.Celsius;
|
||||
import static org.wpilib.units.Units.Microseconds;
|
||||
import static org.wpilib.units.Units.Volts;
|
||||
|
||||
import edu.wpi.first.hal.HAL;
|
||||
import edu.wpi.first.hal.HALUtil;
|
||||
import edu.wpi.first.hal.PowerJNI;
|
||||
import edu.wpi.first.hal.can.CANJNI;
|
||||
import edu.wpi.first.hal.can.CANStatus;
|
||||
import edu.wpi.first.units.measure.Current;
|
||||
import edu.wpi.first.units.measure.Temperature;
|
||||
import edu.wpi.first.units.measure.Time;
|
||||
import edu.wpi.first.units.measure.Voltage;
|
||||
import org.wpilib.hardware.hal.HAL;
|
||||
import org.wpilib.hardware.hal.HALUtil;
|
||||
import org.wpilib.hardware.hal.PowerJNI;
|
||||
import org.wpilib.hardware.hal.can.CANJNI;
|
||||
import org.wpilib.hardware.hal.can.CANStatus;
|
||||
import org.wpilib.units.measure.Current;
|
||||
import org.wpilib.units.measure.Temperature;
|
||||
import org.wpilib.units.measure.Time;
|
||||
import org.wpilib.units.measure.Voltage;
|
||||
import java.util.function.LongSupplier;
|
||||
|
||||
/** Contains functions for roboRIO functionality. */
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import edu.wpi.first.hal.HALUtil;
|
||||
import org.wpilib.hardware.hal.HALUtil;
|
||||
|
||||
/** Runtime type. */
|
||||
public enum RuntimeType {
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import edu.wpi.first.hal.AnalogJNI;
|
||||
import edu.wpi.first.hal.ConstantsJNI;
|
||||
import edu.wpi.first.hal.DIOJNI;
|
||||
import edu.wpi.first.hal.PWMJNI;
|
||||
import edu.wpi.first.hal.PortsJNI;
|
||||
import org.wpilib.hardware.hal.AnalogJNI;
|
||||
import org.wpilib.hardware.hal.ConstantsJNI;
|
||||
import org.wpilib.hardware.hal.DIOJNI;
|
||||
import org.wpilib.hardware.hal.PWMJNI;
|
||||
import org.wpilib.hardware.hal.PortsJNI;
|
||||
|
||||
/**
|
||||
* Stores most recent status information as well as containing utility functions for checking
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import edu.wpi.first.hal.SystemServerJNI;
|
||||
import edu.wpi.first.networktables.NetworkTableInstance;
|
||||
import org.wpilib.hardware.hal.SystemServerJNI;
|
||||
import org.wpilib.networktables.NetworkTableInstance;
|
||||
|
||||
/** Class to get system server NT instance. */
|
||||
public final class SystemServer {
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import edu.wpi.first.hal.ThreadsJNI;
|
||||
import org.wpilib.hardware.hal.ThreadsJNI;
|
||||
|
||||
/** Thread utility functions. */
|
||||
public final class Threads {
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import static edu.wpi.first.units.Units.Seconds;
|
||||
import static org.wpilib.units.Units.Seconds;
|
||||
|
||||
import edu.wpi.first.units.measure.Time;
|
||||
import org.wpilib.units.measure.Time;
|
||||
|
||||
/**
|
||||
* A timer class.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
package org.wpilib.system;
|
||||
|
||||
import static edu.wpi.first.units.Units.Seconds;
|
||||
import static org.wpilib.units.Units.Seconds;
|
||||
|
||||
import edu.wpi.first.hal.NotifierJNI;
|
||||
import edu.wpi.first.units.measure.Time;
|
||||
import org.wpilib.hardware.hal.NotifierJNI;
|
||||
import org.wpilib.units.measure.Time;
|
||||
import java.io.Closeable;
|
||||
import java.util.PriorityQueue;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
|
||||
Reference in New Issue
Block a user