<commit_before>package org.usfirst.frc.team3335.robot.commands;

//import edu.wpi.first.wpilibj.DoubleSolenoid;
import org.usfirst.frc.team3335.robot.Robot;

import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc.team3335.robot.subsystems.BallShifter;

import static edu.wpi.first.wpilibj.DoubleSolenoid.Value.kForward;
//import static edu.wpi.first.wpilibj.DoubleSolenoid.Value.kOff;
import static edu.wpi.first.wpilibj.DoubleSolenoid.Value.kReverse;

public class BallShift extends Command {

	BallShifter ballShifter;

	public BallShift() {
		requires(Robot.ballShifter);
		ballShifter = Robot.ballShifter;
	}

	@Override
	protected void end() {
		switchGear();
	}

	/**
	 * Switches solenoid to opposite value.<commit_msg>Method name change.<commit_after>package org.usfirst.frc.team3335.robot.commands;

//import edu.wpi.first.wpilibj.DoubleSolenoid;
import org.usfirst.frc.team3335.robot.Robot;

import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc.team3335.robot.subsystems.BallShifter;

import static edu.wpi.first.wpilibj.DoubleSolenoid.Value.kForward;
//import static edu.wpi.first.wpilibj.DoubleSolenoid.Value.kOff;
import static edu.wpi.first.wpilibj.DoubleSolenoid.Value.kReverse;

public class BallShift extends Command {

	BallShifter ballShifter;

	public BallShift() {
		requires(Robot.ballShifter);
		ballShifter = Robot.ballShifter;
	}

	@Override
	protected void initialize() {
		switchGear();
	}

	/**
	 * Switches solenoid to opposite value.
{'fraction_non_alphanumeric': 0.11319490957803081, 'fraction_numerical': 0.016075016744809108, 'mean_word_length': 5.024193548387097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '371560', 'n_tokens_mistral': 600, 'n_tokens_neox': 547, 'n_words': 83}