Skip to content

Commit 179b530

Browse files
committed
style: convert DICOM file headers to SPDX format
Per PR review feedback from jonbartels: convert all touched files in this PR to the project's SPDX header style (matching the format already in use in LoginStatus.java, DelimitedReader.java, EDIReader.java, etc.). Three patterns applied based on file provenance: * New files contributed by this PR (45 files, mostly under server/src/com/mirth/connect/connectors/dimse/dicom/ and the corresponding test tree): a single Saga IT, LLC copyright line. Replaces the legacy Mirth Corporation block header that was copy-pasted from existing files when these were created. * Existing Mirth files modified by this PR (15 files, including DICOMReceiver, DICOMDispatcher, DICOMUtil, MirthLauncher, etc.): Mirth Corporation copyright preserved, Saga IT, LLC added as a contributor copyright line. * Vendored dcm4che2 tool files modified by this PR (MirthDcmRcv.java, MirthDcmSnd.java): dcm4che project + Mirth Corporation + Saga IT, LLC. Note: the upstream dcm4che2 source carries an MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only tri-license; we use MPL-2.0 here to match the rest of the project. Surfacing the actual upstream license is a separate concern. Header format matches existing project examples: // SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: <holder> CRLF line endings preserved on files that originally used CRLF; LF files unchanged. Per-file diffs are header-only — no source code changed. Signed-off-by: Jesse Dowell <jesse.dowell@gmail.com>
1 parent c9de11f commit 179b530

62 files changed

Lines changed: 166 additions & 312 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

server/src/com/mirth/connect/connectors/dimse/DICOMConfiguration.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Mirth Corporation
3+
// SPDX-FileCopyrightText: Saga IT, LLC
94

105
package com.mirth.connect.connectors.dimse;
116

server/src/com/mirth/connect/connectors/dimse/DICOMConfigurationUtil.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Mirth Corporation
3+
// SPDX-FileCopyrightText: Saga IT, LLC
94

105
package com.mirth.connect.connectors.dimse;
116

server/src/com/mirth/connect/connectors/dimse/DICOMDispatcher.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Mirth Corporation
3+
// SPDX-FileCopyrightText: Saga IT, LLC
94

105
package com.mirth.connect.connectors.dimse;
116

server/src/com/mirth/connect/connectors/dimse/DICOMReceiver.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Mirth Corporation
3+
// SPDX-FileCopyrightText: Saga IT, LLC
94

105
package com.mirth.connect.connectors.dimse;
116

server/src/com/mirth/connect/connectors/dimse/DefaultDICOMConfiguration.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Mirth Corporation
3+
// SPDX-FileCopyrightText: Saga IT, LLC
94

105
package com.mirth.connect.connectors.dimse;
116

server/src/com/mirth/connect/connectors/dimse/DefaultDcm5DICOMConfiguration.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Saga IT, LLC
93

104
package com.mirth.connect.connectors.dimse;
115

server/src/com/mirth/connect/connectors/dimse/dicom/DicomConstants.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Saga IT, LLC
93

104
package com.mirth.connect.connectors.dimse.dicom;
115

server/src/com/mirth/connect/connectors/dimse/dicom/DicomLibraryFactory.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Saga IT, LLC
93

104
package com.mirth.connect.connectors.dimse.dicom;
115

server/src/com/mirth/connect/connectors/dimse/dicom/OieDicomConverter.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Saga IT, LLC
93

104
package com.mirth.connect.connectors.dimse.dicom;
115

server/src/com/mirth/connect/connectors/dimse/dicom/OieDicomElement.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/*
2-
* Copyright (c) Mirth Corporation. All rights reserved.
3-
*
4-
* http://www.mirthcorp.com
5-
*
6-
* The software in this package is published under the terms of the MPL license a copy of which has
7-
* been included with this distribution in the LICENSE.txt file.
8-
*/
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: Saga IT, LLC
93

104
package com.mirth.connect.connectors.dimse.dicom;
115

0 commit comments

Comments
 (0)