<commit_before>package com.canoo.dolphin.server.event.impl;

import com.canoo.dolphin.server.event.DolphinEventBus;

import java.util.concurrent.TimeUnit;

/**
 * Created by hendrikebbers on 17.04.15.
 */
public class PollingController {

    public void pollEvents() {
        try {
            DolphinEventBusImpl.getInstance().sendEventsForCurrentDolphinSession(10, TimeUnit.SECONDS);
        } catch (InterruptedException e) {
            //this exception is called when the clients has an update and needs to stop the polling.
            // Therefore we do nothing here
        }
    }

}
<commit_msg>fixed method name<commit_after>package com.canoo.dolphin.server.event.impl;

import java.util.concurrent.TimeUnit;

/**
 * Created by hendrikebbers on 17.04.15.
 */
public class PollingController {

    public void pollEvents() {
        try {
            DolphinEventBusImpl.getInstance().listenOnEventsForCurrentDolphinSession(10, TimeUnit.SECONDS);
        } catch (InterruptedException e) {
              //this exception is called when the clients has an update and needs to stop the polling.
            // Therefore we do nothing here
        }
    }

}

{'fraction_non_alphanumeric': 0.08732876712328767, 'fraction_numerical': 0.0136986301369863, 'mean_word_length': 2.7588424437299035, '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': '6724313', 'n_tokens_mistral': 351, 'n_tokens_neox': 327, 'n_words': 88}