Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2011-09-16 10:40:49 -0400
committerMarkus Tiede2011-09-16 10:40:49 -0400
commit58fce01389e8b6c5e2daa06943d54c0822d8364f (patch)
treea513b5fb233bd458962b20706539ca8a761b0f10 /org.eclipse.jubula.examples.aut.dvdtool
parentd5595ac05861c6023b6f9114d9d7e8bc8da966bd (diff)
downloadorg.eclipse.jubula.core-58fce01389e8b6c5e2daa06943d54c0822d8364f.tar.gz
org.eclipse.jubula.core-58fce01389e8b6c5e2daa06943d54c0822d8364f.tar.xz
org.eclipse.jubula.core-58fce01389e8b6c5e2daa06943d54c0822d8364f.zip
Major IDE refacotring - adjusted org.eclipse.jdt.core.prefs settings + IDE warnings reduced.
Diffstat (limited to 'org.eclipse.jubula.examples.aut.dvdtool')
-rw-r--r--org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/control/DvdCopyRadioButtonToClipboardAction.java2
-rw-r--r--org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/resources/Resources.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/control/DvdCopyRadioButtonToClipboardAction.java b/org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/control/DvdCopyRadioButtonToClipboardAction.java
index cea3ec998..c640c3afe 100644
--- a/org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/control/DvdCopyRadioButtonToClipboardAction.java
+++ b/org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/control/DvdCopyRadioButtonToClipboardAction.java
@@ -51,7 +51,7 @@ abstract class DvdCopyRadioButtonToClipboardAction extends AbstractAction {
public void actionPerformed(ActionEvent e) {
JRadioButton button = getRadioButton();
String text =
- button.getLabel() + ":" //$NON-NLS-1$
+ button.getText() + ":" //$NON-NLS-1$
+ (button.isSelected() ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$
// copy text to clipboard
diff --git a/org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/resources/Resources.java b/org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/resources/Resources.java
index 6c949ce4c..6b32e32bb 100644
--- a/org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/resources/Resources.java
+++ b/org.eclipse.jubula.examples.aut.dvdtool/src/org/eclipse/jubula/examples/aut/dvdtool/resources/Resources.java
@@ -68,7 +68,7 @@ public class Resources {
try {
resourceBundle = ResourceBundle.getBundle(BUNDLE_NAME);
} catch (MissingResourceException mre) {
- String message = mre.getMessage();
+ mre.printStackTrace();
}
}

Back to the top