From b192ac2f0746c3c212afd270edaf64ef1f9048a7 Mon Sep 17 00:00:00 2001 From: mihostet Date: Thu, 9 Jun 2022 19:01:51 +0200 Subject: [PATCH] remove timestamp from generated scripts --- .../io/impl/MadxScriptModelDefinitionPersistenceService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/java/cern/accsoft/steering/jmad/modeldefs/io/impl/MadxScriptModelDefinitionPersistenceService.java b/src/java/cern/accsoft/steering/jmad/modeldefs/io/impl/MadxScriptModelDefinitionPersistenceService.java index e3654fe3..453ec9b2 100644 --- a/src/java/cern/accsoft/steering/jmad/modeldefs/io/impl/MadxScriptModelDefinitionPersistenceService.java +++ b/src/java/cern/accsoft/steering/jmad/modeldefs/io/impl/MadxScriptModelDefinitionPersistenceService.java @@ -10,7 +10,6 @@ import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; -import java.time.Instant; import java.util.List; import java.util.function.Function; @@ -112,7 +111,6 @@ public void saveOpticScriptDirectory(JMadModelDefinitionExportRequest exportRequ MadxScriptCreationContext script = new MadxScriptCreationContext(modelFilePathResolver, model, openOpticFile(directory, opticsDefinition)); script.comment("JMad export of model " + model.getName() + " optic " + opticsDefinition.getName()); - script.comment("Generated: " + Instant.now().toString()); script.space(); opticsDefinition.getInitFiles().forEach(script::call); script.close();