Miglioria GUI
This commit is contained in:
@@ -15,6 +15,7 @@ import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -80,7 +81,7 @@ public class ContoCorrente {
|
||||
}
|
||||
|
||||
private void logSaldoCorrente() throws IOException{
|
||||
log("Saldo corrente: " + this.saldo + "\n");
|
||||
log("Saldo corrente: " + this.saldo);
|
||||
}
|
||||
|
||||
private void log(String messaggio) throws IOException{
|
||||
@@ -100,6 +101,7 @@ public class ContoCorrente {
|
||||
}
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public String getLog() throws IOException{
|
||||
try (BufferedReader br = new BufferedReader(
|
||||
new FileReader(MyBank.PATH_CONTI + "movimenti_" + this.numeroContoCorrente + ".txt"))) {
|
||||
|
||||
Reference in New Issue
Block a user