Skip to content

Commit 61ef5ce

Browse files
Merge pull request #10 from SwiftPackageIndex/remove-copyright-years
Remove year from all copyright notices
2 parents fc67091 + 654b286 commit 61ef5ce

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// swift-tools-version:5.3
22

3-
// Copyright 2020-2021 Dave Verwer, Sven A. Schmidt, and other contributors.
3+
// Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
44
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.

Sources/SemanticVersion/NSRegularExpression+ext.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020-2021 Dave Verwer, Sven A. Schmidt, and other contributors.
1+
// Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -31,11 +31,11 @@ extension NSRegularExpression {
3131
let range = NSRange(string.startIndex..., in: string)
3232
return firstMatch(in: string, options: [], range: range) != nil
3333
}
34-
34+
3535
func matchGroups(_ string: String, options: NSRegularExpression.Options = []) -> [String] {
3636
let range = NSRange(string.startIndex..., in: string)
3737
guard let match = firstMatch(in: string, options: [], range: range) else { return [] }
38-
38+
3939
// Skip over index 0 which is the range of the whole match
4040
return (1...numberOfCaptureGroups).map {
4141
if let r = Range(match.range(at: $0), in: string) {

Sources/SemanticVersion/SemanticVersion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020-2021 Dave Verwer, Sven A. Schmidt, and other contributors.
1+
// Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

Tests/LinuxMain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020-2021 Dave Verwer, Sven A. Schmidt, and other contributors.
1+
// Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

Tests/SemanticVersionTests/SemanticVersionTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020-2021 Dave Verwer, Sven A. Schmidt, and other contributors.
1+
// Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)