<commit_before>package ro.pub.cs.systems.eim.practicaltest01var06;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.text.Editable;
import android.text.TextWatcher;

public class PracticalTest01Var06MainActivity extends Activity {
	private EditText topEditText = null, lowEditText = null;
	private Button details = null,passButton= null,naviButton = null;
	private PassListener  passListener = new PassListener();
	
	
	
	private class ButtonListener implements View.OnClickListener{

		@Override
		public void onClick(View arg0) {
			// TODO Auto-generated method stub
			
			switch (arg0.getId()) {
			case R.id.details:
				if (details.getText().toString().contains("More details")) {
					details.setText("Less details");
					set
				}
				
				break;

			default:
				break;
			}
			
		}
		
		
		
	}
	
	private class PassListener implements TextWatcher {

		@Override
		public void afterTextChanged(Editable arg0) {
			// TODO Auto-generated method stub
			
		}

		@Override
		public void beforeTextChanged(CharSequence arg0, int arg1, int arg2,
				int arg3) {
			// TODO Auto-generated method stub
			
		}

		@Override
		public void onTextChanged(CharSequence arg0, int arg1, int arg2,
				int arg3) {
			// TODO Auto-generated method stub
			
			if(arg0.toString().startsWith("http"))
				;
			
		}}
	
	
	
	
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_practical_test01_var06_main);
        
        topEditText = (EditText)findViewById(R.id.top_edit_text);
        lowEditText = (EditText)findViewById(R.id.lower_edit_text);
        details = (Button)findViewById(R.id.details);
        passButton = (Button)findViewById(R.id.pass_button);
        naviButton = (Button)findViewById(R.id.navigate_to_secondary_activity);+
        
        details.setOnClickListener(l);
        <commit_msg>set Visibility listener<commit_after>package ro.pub.cs.systems.eim.practicaltest01var06;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.text.Editable;
import android.text.TextWatcher;

public class PracticalTest01Var06MainActivity extends Activity {
	private EditText topEditText = null, lowEditText = null;
	private Button details = null,passButton= null,naviButton = null;
	private PassListener  passListener = new PassListener();
	private ButtonListener buttonListener = new ButtonListener();
	
	
	private class ButtonListener implements View.OnClickListener{

		@Override
		public void onClick(View arg0) {
			// TODO Auto-generated method stub
			
			switch (arg0.getId()) {
			case R.id.details:
				if (details.getText().toString().contains("More details")) {
					details.setText("Less details");
					passButton.setVisibility(View.VISIBLE);
					lowEditText.setVisibility(View.VISIBLE);
				}
				else
					if (details.getText().toString().contains("Less details")) {
						details.setText("More details");
						passButton.setVisibility(View.INVISIBLE);
						lowEditText.setVisibility(View.INVISIBLE);
					}
					else
						break;
				
				break;

			default:
				break;
			}
			
		}
		
		
		
	}
	
	private class PassListener implements TextWatcher {

		@Override
		public void afterTextChanged(Editable arg0) {
			// TODO Auto-generated method stub
			
		}

		@Override
		public void beforeTextChanged(CharSequence arg0, int arg1, int arg2,
				int arg3) {
			// TODO Auto-generated method stub
			
		}

		@Override
		public void onTextChanged(CharSequence arg0, int arg1, int arg2,
				int arg3) {
			// TODO Auto-generated method stub
			
			if(arg0.toString().startsWith("http"))
				;
			
		}}
	
	
	
	
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_practical_test01_var06_main);
        
        topEditText = (EditText)findViewById(R.id.top_edit_text);
        lowEditText = (EditText)findViewById(R.id.lower_edit_text);
        details = (Button)findViewById(R.id.details);
        passButton = (Button)findViewById(R.id.pass_button);
        naviButton = (Button)findViewById(R.id.navigate_to_secondary_activity);
        
        details.setOnClickListener(buttonListener);
        
{'fraction_non_alphanumeric': 0.09631417288284336, 'fraction_numerical': 0.010530934620447565, 'mean_word_length': 3.3878729547641964, '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': '7666022', 'n_tokens_mistral': 1596, 'n_tokens_neox': 1311, 'n_words': 282}