Suppression de sysout inutiles

This commit is contained in:
Thomas Rubini 2022-06-07 22:37:34 +02:00
parent 6f7c024d2e
commit 8f3046de29
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373
5 changed files with 3 additions and 6 deletions

View File

@ -24,8 +24,6 @@ public class DAOFactoryJPA implements DAOFactory {
private <T> void insertAllHelper(DAO<T> dao, Collection<T> list){
if(dao.findAll().size()==0){
entityManager.getTransaction().begin();
System.out.println("LOOP");
System.out.flush();
for(var a : list){
entityManager.persist(a);
}

View File

@ -16,7 +16,6 @@ public class TableEntry {
nom = usage.getNom();
thematique = usage.getThematique().getNom();
discipline = usage.getDiscipline().getNom();
System.out.println("DESC="+usage.getDescription());
description = usage.getDescription();
niveau = usage.getNiveau().getNom();
}

View File

@ -230,7 +230,6 @@ public class Controller implements Initializable {
recherche.setOnAction(handleRechercheCrieters);
EventHandler<ActionEvent> loginPrompt = event ->{
System.out.println("test");
Stage loginWindow = new Stage();
try {
loginWindow.setScene(new Scene(FXMLLoader.load(getClass().getResource("/fr/univ_amu/iut/loginPrompt/Code_acces.fxml"))));

View File

@ -24,6 +24,7 @@ public class Controller implements Initializable{
public void initialize(URL url, ResourceBundle resourceBundle) {
EventHandler<ActionEvent> handleLogin = event ->{
// TODO Use SecretProvider
System.out.println(password.getText());
};
log.setOnAction(handleLogin);

View File

@ -36,8 +36,8 @@ public class AcademiePath extends SVGPath {
final Properties PROPERTIES = new Properties();
try (InputStream resourceStream = LOADER.getResourceAsStream(fileName)) {
PROPERTIES.load(resourceStream);
} catch (IOException exception) {
System.out.println(Arrays.toString(exception.getStackTrace()));
} catch (IOException e) {
throw new RuntimeException(e);
}
return PROPERTIES;
}