<commit_before>
package com.portpiratech.team4804.robot;

import com.portpiratech.team4804.robot.commands.ExtendPiston;
import com.portpiratech.team4804.robot.commands.LoadTote;
import com.portpiratech.team4804.robot.commands.RetractPiston;
import com.portpiratech.team4804.robot.commands.UnloadTote;
import com.portpiratech.xbox360.XboxController;

/**
 * This class is the glue that binds the controls on the physical operator
 * interface to the commands and command groups that allow control of the robot.
 */
public class OI {
    private static final int OPERATOR_CONTROLLER_PORT = 1;
	private static final int DRIVER_CONTROLLER_PORT = 0;
	private XboxController driverController = new XboxController(DRIVER_CONTROLLER_PORT);
    private XboxController operatorController = new XboxController(OPERATOR_CONTROLLER_PORT);

    public OI() {
        // Connect the buttons to commands
    	operatorController.getAButton().whileHeld(new ExtendPiston());
    	operatorController.getBButton().whileHeld(new RetractPiston());
    	operatorController.getXButton().whenPressed(new LoadTote());
        operatorController.getYButton().whileHeld(new UnloadTote());

    }
    
    /**
     * Method to retrieve First XBox Controller
     * 
     * @return XBox Controller One
     */
    public XboxController getDriverController() {
        return driverController;
    }
    public XboxController getOperatorController() {
        return operatorController;
    }
}<commit_msg>Reformatted OI (removed a line)<commit_after>
package com.portpiratech.team4804.robot;

import com.portpiratech.team4804.robot.commands.ExtendPiston;
import com.portpiratech.team4804.robot.commands.LoadTote;
import com.portpiratech.team4804.robot.commands.RetractPiston;
import com.portpiratech.team4804.robot.commands.UnloadTote;
import com.portpiratech.xbox360.XboxController;

/**
 * This class is the glue that binds the controls on the physical operator
 * interface to the commands and command groups that allow control of the robot.
 */
public class OI {
    private static final int OPERATOR_CONTROLLER_PORT = 1;
	private static final int DRIVER_CONTROLLER_PORT = 0;
	private XboxController driverController = new XboxController(DRIVER_CONTROLLER_PORT);
    private XboxController operatorController = new XboxController(OPERATOR_CONTROLLER_PORT);

    public OI() {
        // Connect the buttons to commands
    	operatorController.getAButton().whileHeld(new ExtendPiston());
    	operatorController.getBButton().whileHeld(new RetractPiston());
    	operatorController.getXButton().whenPressed(new LoadTote());
        operatorController.getYButton().whileHeld(new UnloadTote());
    }
    
    /**
     * Method to retrieve First XBox Controller
     * 
     * @return XBox Controller One
     */
    public XboxController getDriverController() {
        return driverController;
    }
    public XboxController getOperatorController() {
        return operatorController;
    }
}
{'fraction_non_alphanumeric': 0.08026981450252951, 'fraction_numerical': 0.016863406408094434, 'mean_word_length': 4.277580071174377, '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': '3518833', 'n_tokens_mistral': 913, 'n_tokens_neox': 852, 'n_words': 202}