<commit_before>package de.aufgabe11.ana.controllers;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import de.aufgabe11.ana.exc.CardNotInsertedException;
import de.aufgabe11.ana.main.Account;
import de.aufgabe11.ana.main.CashMachine;
import de.aufgabe11.ana.main.View;

public class KontoStand implements ActionListener {
	// Model
	private CashMachine<Account> cashMachine;
	// View
	private View view;

	// Konstruktor
	public KontoStand(CashMachine<Account> cashMachine) {
		this.cashMachine = cashMachine;
	}

	public void setView(View view) {
		this.view = view;
	}

	// Action
	public void actionPerformed(ActionEvent e) {

		try {
			view.updateViewKS(cashMachine.accountStatementToString());// Fuehrt
																		// die
																		// benoetigten
																		// Aenderungen
																		// in
																		// View
		} catch (CardNotInsertedException e1) {
			view.InfoSchreiben(e1);
		}
	}
}<commit_msg>Update KontoStand.java<commit_after>package de.aufgabe11.ana.controllers;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import de.aufgabe11.ana.exc.CardNotInsertedException;
import de.aufgabe11.ana.main.Account;
import de.aufgabe11.ana.main.CashMachine;
import de.aufgabe11.ana.main.View;

public class KontoStand implements ActionListener {
	// Model
	private CashMachine<Account> cashMachine;
	// View
	private View view;

	// Konstruktor
	public KontoStand(CashMachine<Account> cashMachine) {
		this.cashMachine = cashMachine;
	}

	public void setView(View view) {
		this.view = view;
	}

	// Action
	public void actionPerformed(ActionEvent e) {

		try {
			view.updateViewKS(cashMachine.accountStatementToString());// Fuehrt
																// View
		} catch (CardNotInsertedException e1) {
			view.InfoSchreiben(e1);
		}
	}
}
{'fraction_non_alphanumeric': 0.10350492880613363, 'fraction_numerical': 0.013143483023001095, 'mean_word_length': 3.360381861575179, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '254035', 'n_tokens_mistral': 733, 'n_tokens_neox': 608, 'n_words': 109}