mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-21 22:52:22 +00:00
Update TethysExporter.java
small fix
This commit is contained in:
parent
8842166f43
commit
2dd870956a
@ -93,8 +93,8 @@ public class TethysExporter {
|
||||
// return false;
|
||||
// }
|
||||
|
||||
Deployment deployment = new Deployment();
|
||||
deployment.setId("1");
|
||||
Deployment deployment1 = new Deployment();
|
||||
deployment1.setId("1");
|
||||
|
||||
Path tempFile = null;
|
||||
try {
|
||||
@ -103,7 +103,7 @@ public class TethysExporter {
|
||||
Marshaller marshall = jaxB.createMarshaller();
|
||||
marshall.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
|
||||
StringWriter sw = new StringWriter();
|
||||
marshall.marshal(deployment, sw);
|
||||
marshall.marshal(deployment1, sw);
|
||||
tempFile = Files.createTempFile("pamGuardToTethys", ".xml");
|
||||
Files.write(tempFile, sw.toString().getBytes());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user