Skip to content

Commit 70e4148

Browse files
committed
Refactor LibraryPreprocessorBuilder class
Moved LibraryPreprocessorBuilder to its own file, `LibraryPreprocessorBuilder.cs`, and added a copyright header for 2025. Updated the namespace to `Hl7.Cql.Compiler.Preprocessing` for better organization. Retained the class functionality, including the constructor and `Build` method. Updated the copyright year in `LibraryPreprocessor.cs` to 2025.
1 parent 0151d64 commit 70e4148

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

Cql/Cql.Compiler/Preprocessing/LibraryPreprocessor.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024, Firely, NCQA and contributors
2+
* Copyright (c) 2025, Firely, NCQA and contributors
33
* See the file CONTRIBUTORS for details.
44
*
55
* This file is licensed under the BSD 3-Clause license
@@ -30,9 +30,4 @@ public void PreprocessLibrary(Library library)
3030
_missingResultTypeSpecifierCorrector.Fix(library);
3131
_profiledValueSetPropertyCorrector.Fix(library);
3232
}
33-
}
34-
35-
internal class LibraryPreprocessorBuilder(ILoggerFactory loggerFactory)
36-
{
37-
public LibraryPreprocessor Build(LibrarySet librarySet) => new(librarySet, loggerFactory);
3833
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* Copyright (c) 2025, Firely, NCQA and contributors
3+
* See the file CONTRIBUTORS for details.
4+
*
5+
* This file is licensed under the BSD 3-Clause license
6+
* available at https://raw.githubusercontent.com/FirelyTeam/firely-cql-sdk/main/LICENSE
7+
*/
8+
9+
namespace Hl7.Cql.Compiler.Preprocessing;
10+
11+
internal class LibraryPreprocessorBuilder(ILoggerFactory loggerFactory)
12+
{
13+
public LibraryPreprocessor Build(LibrarySet librarySet) => new(librarySet, loggerFactory);
14+
}

0 commit comments

Comments
 (0)