git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-629 --quiet [no stdout], --quiet --quiet [no stderr]. Tidied up BootstrapArgs...
[jalview.git]
/
src
/
org
/
jibble
/
epsgraphics
/
EpsDocument.java
diff --git
a/src/org/jibble/epsgraphics/EpsDocument.java
b/src/org/jibble/epsgraphics/EpsDocument.java
old mode 100755
(executable)
new mode 100644
(file)
index
1e71632
..
4ec529a
--- a/
src/org/jibble/epsgraphics/EpsDocument.java
+++ b/
src/org/jibble/epsgraphics/EpsDocument.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-20,8
+20,6
@@
*/
package org.jibble.epsgraphics;
*/
package org.jibble.epsgraphics;
-import jalview.util.MessageManager;
-
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStream;
@@
-34,8
+32,8
@@
import java.util.Date;
* This represents an EPS document. Several EpsGraphics2D objects may point to
* the same EpsDocument.
* <p>
* This represents an EPS document. Several EpsGraphics2D objects may point to
* the same EpsDocument.
* <p>
- * Copyright Paul Mutton, <a
- * href="http://www.jibble.org/">http://www.jibble.org/</a>
+ * Copyright Paul Mutton,
+ * <a href="http://www.jibble.org/">http://www.jibble.org/</a>
*
*/
public class EpsDocument
*
*/
public class EpsDocument
@@
-67,8
+65,8
@@
public class EpsDocument
this.minY = minY;
this.maxX = maxX;
this.maxY = maxY;
this.minY = minY;
this.maxX = maxX;
this.maxY = maxY;
- _bufferedWriter = new BufferedWriter(new OutputStreamWriter(
- outputStream));
+ _bufferedWriter = new BufferedWriter(
+ new OutputStreamWriter(outputStream));
write(_bufferedWriter);
}
write(_bufferedWriter);
}
@@
-164,9
+162,7
@@
public class EpsDocument
_bufferedWriter.write(line + "\n");
} catch (IOException e)
{
_bufferedWriter.write(line + "\n");
} catch (IOException e)
{
- throw new EpsException(MessageManager.formatMessage(
- "exception.eps_coudnt_write_output_file",
- new String[] { e.getMessage() }));
+ throw new EpsException("Could not write to the output file: " + e);
}
}
}
}
@@
-211,8
+207,8
@@
public class EpsDocument
}
else
{
}
else
{
- writer.write(offsetX + " " + ((maxY - minY) - offsetY)
- + " translate\n");
+ writer.write(
+ offsetX + " " + ((maxY - minY) - offsetY) + " translate\n");
}
writer.flush();
}
writer.flush();