<commit_before>package com.example.vaadin_test;

import org.ofbiz.base.util.Debug;

import com.example.vaadin_test.views.EntityDataView;
import com.example.vaadin_test.views.EntityView;
import com.example.vaadin_test.views.ServiceView;
import com.vaadin.navigator.Navigator;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.CssLayout;
import com.vaadin.ui.MenuBar;
import com.vaadin.ui.MenuBar.MenuItem;
import com.vaadin.ui.UI;
import com.vaadin.ui.VerticalLayout;


@SuppressWarnings("serial")
public class VaadinTestUI extends UI {
	
	private Navigator navigator;

	@Override
	protected void init(VaadinRequest request) {
		VerticalLayout mainLayout = new VerticalLayout();
		setContent(mainLayout);
		
		MenuBar mainMenuBar = new MenuBar();
		
		mainMenuBar.addItem("Services", new MenuBar.Command() {
		    public void menuSelected(MenuBar.MenuItem selectedItem) {
		    	navigator.navigateTo("services");
		    }
		});
		
		mainMenuBar.addItem("Entities", new MenuBar.Command() {
		    public void menuSelected(MenuBar.MenuItem selectedItem) {
		    	navigator.navigateTo("entities");
		    }
		});
		
		mainLayout.addComponent(mainMenuBar);
				
		CssLayout content = new CssLayout();
		content.setSizeFull();
		mainLayout.addComponent(content);
		
		navigator = new Navigator(this, content);
		navigator.addView("services", ServiceView.class);
		navigator.addView("entities", EntityView.class);
		navigator.navigateTo("services");
	}
}<commit_msg>Delete unused import<commit_after>package com.example.vaadin_test;

import com.example.vaadin_test.views.EntityView;
import com.example.vaadin_test.views.ServiceView;
import com.vaadin.navigator.Navigator;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.CssLayout;
import com.vaadin.ui.MenuBar;
import com.vaadin.ui.UI;
import com.vaadin.ui.VerticalLayout;


@SuppressWarnings("serial")
public class VaadinTestUI extends UI {

	private Navigator navigator;

	@Override
	protected void init(VaadinRequest request) {
		VerticalLayout mainLayout = new VerticalLayout();
		setContent(mainLayout);

		MenuBar mainMenuBar = new MenuBar();

		mainMenuBar.addItem("Services", new MenuBar.Command() {
		    public void menuSelected(MenuBar.MenuItem selectedItem) {
		    	navigator.navigateTo("services");
		    }
		});

		mainMenuBar.addItem("Entities", new MenuBar.Command() {
		    public void menuSelected(MenuBar.MenuItem selectedItem) {
		    	navigator.navigateTo("entities");
		    }
		});

		mainLayout.addComponent(mainMenuBar);

		CssLayout content = new CssLayout();
		content.setSizeFull();
		mainLayout.addComponent(content);

		navigator = new Navigator(this, content);
		navigator.addView("services", ServiceView.class);
		navigator.addView("entities", EntityView.class);
		navigator.navigateTo("services");
	}
}
{'fraction_non_alphanumeric': 0.11468381564844587, 'fraction_numerical': 0.0, 'mean_word_length': 4.995717344753747, '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': '6806685', 'n_tokens_mistral': 970, 'n_tokens_neox': 859, 'n_words': 154}