Suppression de sysout inutiles
This commit is contained in:
parent
6f7c024d2e
commit
8f3046de29
@ -24,8 +24,6 @@ public class DAOFactoryJPA implements DAOFactory {
|
|||||||
private <T> void insertAllHelper(DAO<T> dao, Collection<T> list){
|
private <T> void insertAllHelper(DAO<T> dao, Collection<T> list){
|
||||||
if(dao.findAll().size()==0){
|
if(dao.findAll().size()==0){
|
||||||
entityManager.getTransaction().begin();
|
entityManager.getTransaction().begin();
|
||||||
System.out.println("LOOP");
|
|
||||||
System.out.flush();
|
|
||||||
for(var a : list){
|
for(var a : list){
|
||||||
entityManager.persist(a);
|
entityManager.persist(a);
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,6 @@ public class TableEntry {
|
|||||||
nom = usage.getNom();
|
nom = usage.getNom();
|
||||||
thematique = usage.getThematique().getNom();
|
thematique = usage.getThematique().getNom();
|
||||||
discipline = usage.getDiscipline().getNom();
|
discipline = usage.getDiscipline().getNom();
|
||||||
System.out.println("DESC="+usage.getDescription());
|
|
||||||
description = usage.getDescription();
|
description = usage.getDescription();
|
||||||
niveau = usage.getNiveau().getNom();
|
niveau = usage.getNiveau().getNom();
|
||||||
}
|
}
|
||||||
|
@ -230,7 +230,6 @@ public class Controller implements Initializable {
|
|||||||
recherche.setOnAction(handleRechercheCrieters);
|
recherche.setOnAction(handleRechercheCrieters);
|
||||||
|
|
||||||
EventHandler<ActionEvent> loginPrompt = event ->{
|
EventHandler<ActionEvent> loginPrompt = event ->{
|
||||||
System.out.println("test");
|
|
||||||
Stage loginWindow = new Stage();
|
Stage loginWindow = new Stage();
|
||||||
try {
|
try {
|
||||||
loginWindow.setScene(new Scene(FXMLLoader.load(getClass().getResource("/fr/univ_amu/iut/loginPrompt/Code_acces.fxml"))));
|
loginWindow.setScene(new Scene(FXMLLoader.load(getClass().getResource("/fr/univ_amu/iut/loginPrompt/Code_acces.fxml"))));
|
||||||
|
@ -24,6 +24,7 @@ public class Controller implements Initializable{
|
|||||||
public void initialize(URL url, ResourceBundle resourceBundle) {
|
public void initialize(URL url, ResourceBundle resourceBundle) {
|
||||||
|
|
||||||
EventHandler<ActionEvent> handleLogin = event ->{
|
EventHandler<ActionEvent> handleLogin = event ->{
|
||||||
|
// TODO Use SecretProvider
|
||||||
System.out.println(password.getText());
|
System.out.println(password.getText());
|
||||||
};
|
};
|
||||||
log.setOnAction(handleLogin);
|
log.setOnAction(handleLogin);
|
||||||
|
@ -36,8 +36,8 @@ public class AcademiePath extends SVGPath {
|
|||||||
final Properties PROPERTIES = new Properties();
|
final Properties PROPERTIES = new Properties();
|
||||||
try (InputStream resourceStream = LOADER.getResourceAsStream(fileName)) {
|
try (InputStream resourceStream = LOADER.getResourceAsStream(fileName)) {
|
||||||
PROPERTIES.load(resourceStream);
|
PROPERTIES.load(resourceStream);
|
||||||
} catch (IOException exception) {
|
} catch (IOException e) {
|
||||||
System.out.println(Arrays.toString(exception.getStackTrace()));
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
return PROPERTIES;
|
return PROPERTIES;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user