summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-03-24 13:01:22 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-03-24 13:01:22 +0100
commit1118360330a88dd1fd8f7ae7780bc6058e513810 (patch)
tree69b1d98525b6adb0c4ca29e54d3c0113774951e1
parentb52f467d07d799150a002b6c32f5140b36b308c8 (diff)
downloadpdf-over-1118360330a88dd1fd8f7ae7780bc6058e513810.tar.gz
pdf-over-1118360330a88dd1fd8f7ae7780bc6058e513810.tar.bz2
pdf-over-1118360330a88dd1fd8f7ae7780bc6058e513810.zip
remove stray non-nls tags
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
index 401f2cd9..83a9ac79 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
@@ -71,7 +71,7 @@ public class PositioningState extends State {
private PDFFile getPDFDocument() throws IOException {
PDFFile pdf = null;
- RandomAccessFile rafile = new RandomAccessFile(getStateMachine().getStatus().getDocument(), "r"); //$NON-NLS-1$
+ RandomAccessFile rafile = new RandomAccessFile(getStateMachine().getStatus().getDocument(), "r");
FileChannel chan = rafile.getChannel();
ByteBuffer buf = chan
.map(FileChannel.MapMode.READ_ONLY, 0, chan.size());
@@ -82,7 +82,7 @@ public class PositioningState extends State {
pdf = new PDFFile(buf);
}
catch (PDFAuthenticationFailureException e) {
- throw new IOException(Messages.getString("error.PDFPwdProtected"), e); //$NON-NLS-1$
+ throw new IOException(Messages.getString("error.PDFPwdProtected"), e);
}
catch (IOException e) {
throw new IOException(Messages.getString("error.MayNotBeAPDF"), e); //$NON-NLS-1$
@@ -97,7 +97,7 @@ public class PositioningState extends State {
if (this.positionComposite == null) {
this.positionComposite =
stateMachine.getGUIProvider().createComposite(PositioningComposite.class, SWT.RESIZE, this);
- log.debug("Displaying " + stateMachine.getStatus().getDocument()); //$NON-NLS-1$
+ log.debug("Displaying " + stateMachine.getStatus().getDocument());
this.positionComposite.displayDocument(document);
}
// Update possibly changed values