<commit_before>package com.m4gik.presentation;

import java.util.logging.Logger;

import javax.servlet.annotation.WebServlet;

import com.vaadin.annotations.Theme;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.UI;

@Theme("runo")
@SuppressWarnings("serial")
public class DistributedTransactionUI extends UI {

    @WebServlet(value = "/*", asyncSupported = true)
    @VaadinServletConfiguration(productionMode = false, ui = DistributedTransactionUI.class, widgetset = "com.vaadin.DefaultWidgetSet")
    public static class Servlet extends VaadinServlet {
    }

    private final static Logger logger = Logger
            .getLogger(DistributedTransactionUI.class.getName());

    @Override
    protected void init(VaadinRequest request) {
        // TODO Auto-generated method stub

    }

}<commit_msg>Add comments to UI class<commit_after>/**
 * Project Distributed Transactions.
 * Copyright <NAME>, 2013.
 * Created at Dec 28, 2013.
 */
package com.m4gik.presentation;

import java.util.logging.Logger;

import javax.servlet.annotation.WebServlet;

import com.vaadin.annotations.Theme;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI;

/**
 * 
 * This class represents user interface for distributed transaction as proof of
 * concept.
 * 
 * @author m4gik <<EMAIL>>
 * 
 */
@Theme("runo")
@SuppressWarnings("serial")
public class DistributedTransactionUI extends UI {

    /**
     * 
     * Inner static class represents Servlet. This class can be extended.
     * 
     * @author m4gik <<EMAIL>>
     * 
     */
    @WebServlet(value = "/*", asyncSupported = true)
    @VaadinServletConfiguration(productionMode = false, ui = DistributedTransactionUI.class, widgetset = "com.vaadin.DefaultWidgetSet")
    public static class Servlet extends VaadinServlet {
    }

    /**
     * Looger for reporting in runtime.
     */
    private final static Logger logger = Logger
            .getLogger(DistributedTransactionUI.class.getName());

    /**
     * This method initialize a base components for distributed transaction as
     * UI for application. This method overrides an existing method.
     * 
     * @see com.vaadin.ui.UI#init(com.vaadin.server.VaadinRequest)
     */
    @Override
    protected void init(VaadinRequest request) {
        setContent(new Label("Test"));
    }

}
{'fraction_non_alphanumeric': 0.10247349823321555, 'fraction_numerical': 0.005496662740478995, 'mean_word_length': 3.727272727272727, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3750841', 'n_tokens_mistral': 776, 'n_tokens_neox': 707, 'n_words': 178}