Skip to content

Commit

Permalink
Updated license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Dec 31, 2023
1 parent 8c9fd26 commit 01b1f20
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 23 deletions.
2 changes: 1 addition & 1 deletion phase4-profile-dbnalliance/findbugs-exclude.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright (C) 2020-2023 Philip Helger (www.helger.com)
Copyright (C) 2023 Philip Helger (www.helger.com)
philip[at]helger[dot]com
Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion phase4-profile-dbnalliance/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2020-2023 Philip Helger (www.helger.com)
Copyright (C) 2023 Philip Helger (www.helger.com)
philip[at]helger[dot]com
Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion phase4-profile-dbnalliance/src/etc/javadoc.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2020-2023 Philip Helger (www.helger.com)
* Copyright (C) 2023 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion phase4-profile-dbnalliance/src/etc/license-template.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2020-2023 Philip Helger (www.helger.com)
Copyright (C) 2023 Philip Helger (www.helger.com)
philip[at]helger[dot]com

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Philip Helger (www.helger.com)
* Copyright (C) 2023 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,7 +18,6 @@

import javax.annotation.Nonnull;

import com.helger.phase4.profile.dbnalliance.DBNAllianceCompatibilityValidator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -33,6 +32,7 @@
* Library specific implementation of {@link IAS4ProfileRegistrarSPI}.
*
* @author Philip Helger
* @author Michael Riviera
*/
@IsSPIImplementation
public final class AS4DBNAllianceProfileRegistarSPI implements IAS4ProfileRegistrarSPI
Expand All @@ -45,11 +45,13 @@ public final class AS4DBNAllianceProfileRegistarSPI implements IAS4ProfileRegist

public void registerAS4Profile (@Nonnull final IAS4ProfileRegistrar aRegistrar)
{
final IAS4ProfilePModeProvider aDefaultPModeProvider = (i, r, a) -> DBNAlliancePMode.createDBNAlliancePMode (i,
r,
a,
PMODE_ID_PROVIDER,
true);
final IAS4ProfilePModeProvider aDefaultPModeProvider = (i,
r,
a) -> DBNAlliancePMode.createDBNAlliancePMode (i,
r,
a,
PMODE_ID_PROVIDER,
true);

if (LOGGER.isDebugEnabled ())
LOGGER.debug ("Registering phase4 profile '" + AS4_PROFILE_ID + "'");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Philip Helger (www.helger.com)
* Copyright (C) 2023 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -53,10 +53,11 @@
* Validate certain requirements imposed by the DBNAlliance.
*
* @author Philip Helger
* @author Michael Riviera
*/
public class DBNAllianceCompatibilityValidator implements IAS4ProfileValidator
{
public DBNAllianceCompatibilityValidator()
public DBNAllianceCompatibilityValidator ()
{}

@Nonnull
Expand Down Expand Up @@ -245,7 +246,8 @@ private static void _checkIfLegIsValid (@Nonnull final ErrorList aErrorList,
if (aErrorHandling.isReportProcessErrorNotifyProducerDefined ())
{
if (!aErrorHandling.isReportProcessErrorNotifyProducer ())
aErrorList.add (_createWarn (sFieldPrefix + "ErrorHandling.Report.ProcessErrorNotifyProducer should be 'true'"));
aErrorList.add (_createWarn (sFieldPrefix +
"ErrorHandling.Report.ProcessErrorNotifyProducer should be 'true'"));
}
else
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Philip Helger (www.helger.com)
* Copyright (C) 2023 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -50,14 +50,15 @@
* DBNAlliance PMode creation code.
*
* @author Philip Helger
* @author Michael Riviera
*/
@Immutable
public final class DBNAlliancePMode
{
public static final String DEFAULT_AGREEMENT_ID = "https://dbnalliance.org/agreements/access_point.html";
public static final String DEFAULT_PARTY_TYPE_ID = "http://docs.oasis-open.org/bdxr/AS4/1";

private DBNAlliancePMode()
private DBNAlliancePMode ()
{}

@Nonnull
Expand Down Expand Up @@ -163,10 +164,10 @@ public static PModeParty createParty (@Nonnull @Nonempty final String sPartyID,
*/
@Nonnull
public static PMode createDBNAlliancePMode (@Nonnull @Nonempty final String sInitiatorID,
@Nonnull @Nonempty final String sResponderID,
@Nullable final String sAddress,
@Nonnull final IPModeIDProvider aPModeIDProvider,
final boolean bPersist)
@Nonnull @Nonempty final String sResponderID,
@Nullable final String sAddress,
@Nonnull final IPModeIDProvider aPModeIDProvider,
final boolean bPersist)
{
final PModeParty aInitiator = createParty (sInitiatorID, CAS4.DEFAULT_INITIATOR_URL);
final PModeParty aResponder = createParty (sResponderID, CAS4.DEFAULT_RESPONDER_URL);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Philip Helger (www.helger.com)
* Copyright (C) 2023 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Philip Helger (www.helger.com)
* Copyright (C) 2023 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Philip Helger (www.helger.com)
* Copyright (C) 2023 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down

0 comments on commit 01b1f20

Please sign in to comment.