summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorralph isenmann2021-02-17 11:04:16 +0100
committerralph isenmann2021-02-17 11:04:16 +0100
commit971e1f53d3bf30b47a89d4c6c0a641a6cf0e2e64 (patch)
tree2b5cb918ba10c5f745a6d50a51e8e5998757cf35
parent[client] container: allow user to upload a pre build container image (diff)
downloadtutor-module-971e1f53d3bf30b47a89d4c6c0a641a6cf0e2e64.tar.gz
tutor-module-971e1f53d3bf30b47a89d4c6c0a641a6cf0e2e64.tar.xz
tutor-module-971e1f53d3bf30b47a89d4c6c0a641a6cf0e2e64.zip
[client] Refactoring: Remove unused code
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java
index 600dbb7a..d4d253ab 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java
@@ -16,7 +16,6 @@ public class ContainerUploadPageLayout extends WizardPage {
protected final JTextField txtImageName;
protected final JButton btnBrowseForImage;
protected final JTextField txtImageFile;
- protected final JCheckBox chkLicenseRestricted;
protected final QLabel lblImageName;
protected final JTextArea txtInfoText;
@@ -85,15 +84,7 @@ public class ContainerUploadPageLayout extends WizardPage {
grid.add(lblContainerImageFile);
grid.add(txtContainerImageFile, 2).fill(true, false).expand(true, false);
grid.nextRow();
-
- // -- Software license changed - shown only in UploadWizard --
- chkLicenseRestricted = new JCheckBox(
- I18n.PAGE_LAYOUT.getString("ContainerUploadPage.CheckBox.ContainsLicenseRestricted.text"));
- chkLicenseRestricted.setVisible(false);
- grid.skip();
- grid.add(chkLicenseRestricted, 2, 1).fill(false, false).expand(true, false);
- grid.nextRow();
-
+
grid.add(Box.createVerticalGlue(), 3).expand(true, true);
txtInfoText = new JTextArea();
txtInfoText.setBorder(BorderFactory.createTitledBorder(