@@ -141,8 +141,8 @@ protected void initGlobalSettings ()
141141 HttpDebugger .setEnabled (false );
142142
143143 // Sanity check
144- if (CommandMap .getDefaultCommandMap ()
145- . createDataContentHandler ( CMimeType . MULTIPART_RELATED . getAsString ()) == null )
144+ if (CommandMap .getDefaultCommandMap (). createDataContentHandler ( CMimeType . MULTIPART_RELATED . getAsString ()) ==
145+ null )
146146 throw new IllegalStateException ("No DataContentHandler for MIME Type '" +
147147 CMimeType .MULTIPART_RELATED .getAsString () +
148148 "' is available. There seems to be a problem with the dependencies/packaging" );
@@ -190,20 +190,18 @@ public void onEndRequest (@Nonnull final IAS4IncomingMessageMetadata aMessageMet
190190 if (SimpleFileIO .writeFile (aFile ,
191191 AS4IncomingHelper .getIncomingMetadataAsJson (aMessageMetadata )
192192 .getAsJsonString (JsonWriterSettings .DEFAULT_SETTINGS_FORMATTED ),
193- StandardCharsets .UTF_8 )
194- .isFailure ())
193+ StandardCharsets .UTF_8 ).isFailure ())
195194 LOGGER .error ("Failed to write metadata to '" + aFile .getAbsolutePath () + "'" );
196195 else
197196 LOGGER .info ("Wrote metadata to '" + aFile .getAbsolutePath () + "'" );
198197 }
199198 });
200199
201200 // Store the outgoings file as well
202- AS4DumpManager .setOutgoingDumper (new AS4OutgoingDumperFileBased ( (eMsgMode ,
203- sMessageID ,
204- nTry ) -> StorageHelper .getStorageFile (sMessageID ,
205- nTry ,
206- ".as4out" )));
201+ AS4DumpManager .setOutgoingDumper (new AS4OutgoingDumperFileBased ( (eMsgMode , sMessageID , nTry ) -> StorageHelper
202+ .getStorageFile (sMessageID ,
203+ nTry ,
204+ ".as4out" )));
207205 }
208206
209207 private static void _initPeppolAS4 ()
@@ -309,7 +307,7 @@ private static void _initPeppolAS4 ()
309307 LOGGER .error ("Failed to do a reverse search of the certificate" , ex );
310308 }
311309
312- // TODO separate to test and production
310+ // Seeparate to test and production
313311 final EPeppolNetwork eStage = APConfig .getPeppolStage ();
314312 final PeppolCAChecker aAPCAChecker = eStage .isTest () ? PeppolCertificateChecker .peppolTestAP ()
315313 : PeppolCertificateChecker .peppolProductionAP ();
0 commit comments