summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-06-06 12:47:27 +0200
committerSimon Rettberg2023-06-06 12:47:27 +0200
commit5f428a0bcaa87c85f1fc2125ec2b3105d3c3f76a (patch)
tree3c8c64dc83160af76362984aef1f6203d5d90b09
parent[client] Change text for upcoming DE-Masterserver (diff)
downloadtutor-module-5f428a0bcaa87c85f1fc2125ec2b3105d3c3f76a.tar.gz
tutor-module-5f428a0bcaa87c85f1fc2125ec2b3105d3c3f76a.tar.xz
tutor-module-5f428a0bcaa87c85f1fc2125ec2b3105d3c3f76a.zip
[client] Reduce log spam
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java2
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java
index 367f97a2..7809069d 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java
@@ -202,7 +202,7 @@ public class ImageDetailsWindow extends ImageDetailsWindowLayout
window.dispose();
if (Gui.showMessageBox(me,
I18n.WINDOW.getString("ImageDetails.Message.yesNo.changeOwner"),
- MessageType.QUESTION_YESNO, LOGGER, null))
+ MessageType.QUESTION_YESNO, null, null))
setImageOwner(user);
}
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java
index 05c9c046..dff32cae 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java
@@ -120,13 +120,13 @@ public class LectureDetailsWindow extends LectureDetailsWindowLayout implements
public void validityChanged(String errorMessage) {
lblError.setText(errorMessage);
btnSaveChanges.setEnabled(changeMonitor.isValid() && changeMonitor.wasEverModified());
- LOGGER.info("Valid: " + changeMonitor.isValid());
+ //LOGGER.debug("Valid: " + changeMonitor.isValid());
}
@Override
public void modificationChanged() {
btnSaveChanges.setEnabled(changeMonitor.isValid() && changeMonitor.wasEverModified());
- LOGGER.info("Changed: " + changeMonitor.isCurrentlyModified());
+ //LOGGER.debug("Changed: " + changeMonitor.isCurrentlyModified());
}
});
@@ -255,7 +255,7 @@ public class LectureDetailsWindow extends LectureDetailsWindowLayout implements
public void userAdded(UserInfo user, UserListWindow window) {
window.dispose();
if (Gui.showMessageBox(me, I18n.WINDOW.getString("LectureDetails.Message.yesNo.changeOwner"),
- MessageType.QUESTION_YESNO, LOGGER, null))
+ MessageType.QUESTION_YESNO, null, null))
setLectureOwner(user);
}
}, I18n.WINDOW.getString("LectureDetails.Button.changeOwner.caption"), lecture.ownerId);
@@ -621,7 +621,7 @@ public class LectureDetailsWindow extends LectureDetailsWindowLayout implements
return true;
String msg = I18n.WINDOW.getString("LectureDetails.Message.error.isPeriodValid");
if (feedback) {
- Gui.showMessageBox(me, msg, MessageType.ERROR, LOGGER, null);
+ Gui.showMessageBox(me, msg, MessageType.ERROR, null, null);
}
lblError.setText(msg);
return false;