ATS-665: Update standard license log message on startup for all T-Engines (#221)

- also minor fix for Misc to be consistent with other T-Engines
- see also ATS-711
This commit is contained in:
montgolfiere 2020-04-15 19:27:02 +01:00 committed by GitHub
parent b96b574226
commit 0bd6624d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -69,6 +69,7 @@ public class Application
public void startup()
{
logger.info("--------------------------------------------------------------------------------------------------------------------------------------------------------------");
Arrays.stream(LICENCE.split("\\n")).forEach(logger::info);
Arrays.stream(SelectingTransformer.LICENCE.split("\\n")).forEach(logger::info);
logger.info("--------------------------------------------------------------------------------------------------------------------------------------------------------------");

View File

@ -29,7 +29,7 @@ package org.alfresco.transformer.logging;
public interface StandardMessages
{
String LICENCE =
"License rights for this program may be obtained from Alfresco Software, Ltd. pursuant to a written agreement\n" +
"and any use of this program without such an agreement is prohibited.\n" +
"\n";
"If the Alfresco software was purchased under a paid Alfresco license, the terms of the paid license agreement \n" +
"will prevail.Otherwise, the software is provided under terms of the GNU LGPL v3 license. \n" +
"See the license at http://www.gnu.org/licenses/lgpl-3.0.txt. or in /LICENSE.txt\\n";
}