From 3142c4ee05a2094997a96deb4bd1f33123143b31 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 17 Aug 2025 14:14:19 +0800 Subject: License cleanup --- forged/internal/common/cmap/LICENSE | 22 ++++++++++++++++++++++ forged/internal/common/cmap/comparable_map.go | 2 +- forged/internal/common/cmap/map.go | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 forged/internal/common/cmap/LICENSE (limited to 'forged/internal/common/cmap') diff --git a/forged/internal/common/cmap/LICENSE b/forged/internal/common/cmap/LICENSE new file mode 100644 index 0000000..d5dfee8 --- /dev/null +++ b/forged/internal/common/cmap/LICENSE @@ -0,0 +1,22 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/forged/internal/common/cmap/comparable_map.go b/forged/internal/common/cmap/comparable_map.go index cd9d4ce..e89175c 100644 --- a/forged/internal/common/cmap/comparable_map.go +++ b/forged/internal/common/cmap/comparable_map.go @@ -3,7 +3,7 @@ // Copyright 2024 Runxi Yu (porting it to generics) // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.BSD file. +// license that can be found in the LICENSE file. package cmap diff --git a/forged/internal/common/cmap/map.go b/forged/internal/common/cmap/map.go index 4f43627..7a1fe5b 100644 --- a/forged/internal/common/cmap/map.go +++ b/forged/internal/common/cmap/map.go @@ -3,7 +3,7 @@ // Copyright 2024 Runxi Yu (porting it to generics) // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.BSD file. +// license that can be found in the LICENSE file. // Package cmap provides a generic Map safe for concurrent use. package cmap -- cgit v1.2.3