<commit_before>package net.floodlightcontroller.randomizer;

import net.floodlightcontroller.core.IOFSwitch;
import org.projectfloodlight.openflow.types.OFPort;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by geddingsbarrineau on 9/13/16.
 */
abstract class AbstractFlow {

    protected IOFSwitch sw;
    OFPort wanport = OFPort.of(1);
    //protected static boolean LOCAL_HOST_IS_RANDOMIZED = false;
    protected static Logger log;

    /* Flow properties */
    int hardtimeout = 30;
    int idletimeout = 30;
    int flowpriority = 32768;

    public AbstractFlow(OFPort wanport) {
        this.wanport = wanport;
        log = LoggerFactory.getLogger(AbstractFlow.class);
    }

<commit_msg>Made some changes to the switch service in the abstract flow class<commit_after>package net.floodlightcontroller.randomizer;

import net.floodlightcontroller.core.internal.IOFSwitchService;
import org.projectfloodlight.openflow.types.DatapathId;
import org.projectfloodlight.openflow.types.OFPort;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by geddingsbarrineau on 9/13/16.
 */
abstract class AbstractFlow {

    protected DatapathId dpid;
    OFPort wanport = OFPort.of(1);
    //protected static boolean LOCAL_HOST_IS_RANDOMIZED = false;
    protected static Logger log;
    protected IOFSwitchService switchService;

    /* Flow properties */
    int hardtimeout = 30;
    int idletimeout = 30;
    int flowpriority = 32768;

    public AbstractFlow(OFPort wanport) {
        this.wanport = wanport;
        log = LoggerFactory.getLogger(AbstractFlow.class);
    }


{'fraction_non_alphanumeric': 0.08435960591133004, 'fraction_numerical': 0.020935960591133004, 'mean_word_length': 3.8076923076923075, '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': '2015514', 'n_tokens_mistral': 546, 'n_tokens_neox': 516, 'n_words': 118}