summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-06 12:52:15 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-06 12:52:15 +0200
commit82c045d786ef4a0728c1e89fb365afda81aef303 (patch)
treeb6396536f273986777862c88ff15124f9d8a84ee /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
parentf4c665e207973856578c2ad75de4df39b7bca641 (diff)
downloadpdf-over-82c045d786ef4a0728c1e89fb365afda81aef303.tar.gz
pdf-over-82c045d786ef4a0728c1e89fb365afda81aef303.tar.bz2
pdf-over-82c045d786ef4a0728c1e89fb365afda81aef303.zip
remove leftover empty comments after e4767bccc7324d4b61a334bf6c0558d0080045e2
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
index 78b9db3c..1e04a446 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
@@ -67,7 +67,7 @@ public class OpenState extends State {
**/
private static final Logger log = LoggerFactory
.getLogger(OpenState.class);
- private static final String advancedConfig = Constants.CONFIG_DIRECTORY + File.separator + "/cfg/advancedconfig.properties"; //
+ private static final String advancedConfig = Constants.CONFIG_DIRECTORY + File.separator + "/cfg/advancedconfig.properties";
private DataSourceSelectComposite selectionComposite = null;
@@ -106,7 +106,7 @@ public class OpenState extends State {
return;
}
}
- log.debug("Got Datasource: " + getStateMachine().getStatus().getDocument().getAbsolutePath()); //
+ log.debug("Got Datasource: " + getStateMachine().getStatus().getDocument().getAbsolutePath());
// scan for signature placeholders
// - see if we want to scan for placeholders in the settings
@@ -128,8 +128,8 @@ public class OpenState extends State {
// icon
MessageBox dialog = new MessageBox(getStateMachine().getGUIProvider().getMainShell(),
SWT.ICON_QUESTION | SWT.YES | SWT.NO | SWT.CANCEL);
- dialog.setText(Messages.getString("dataSourceSelection.usePlaceholderTitle")); //
- dialog.setMessage(Messages.getString("dataSourceSelection.usePlaceholderText")); //
+ dialog.setText(Messages.getString("dataSourceSelection.usePlaceholderTitle"));
+ dialog.setMessage(Messages.getString("dataSourceSelection.usePlaceholderText"));
// open dialog and await user selection
int result = dialog.open();
@@ -143,8 +143,8 @@ public class OpenState extends State {
} else if (fields.size() > 1) {
PlaceholderSelectionGui gui = new PlaceholderSelectionGui(
- getStateMachine().getGUIProvider().getMainShell(), 65570, "text", //
- "select the fields", fields); //
+ getStateMachine().getGUIProvider().getMainShell(), 65570, "text",
+ "select the fields", fields);
int res = gui.open();
if (res != -1) {
getStateMachine().getStatus().setSearchForPlaceholderSignature(true);
@@ -174,8 +174,8 @@ public class OpenState extends State {
// create a dialog with ok and cancel buttons and a question icon
MessageBox dialog = new MessageBox(getStateMachine().getGUIProvider().getMainShell(),
SWT.ICON_QUESTION | SWT.YES | SWT.NO | SWT.CANCEL);
- dialog.setText(Messages.getString("dataSourceSelection.usePlaceholderTitle")); //
- dialog.setMessage(Messages.getString("dataSourceSelection.usePlaceholderText")); //
+ dialog.setText(Messages.getString("dataSourceSelection.usePlaceholderTitle"));
+ dialog.setMessage(Messages.getString("dataSourceSelection.usePlaceholderText"));
// open dialog and await user selection
int result = dialog.open();