Skip to content

Commit

Permalink
use SPDX license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed Dec 23, 2022
1 parent 09e0cc2 commit d09c988
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 50 deletions.
6 changes: 5 additions & 1 deletion src/Smdn.Text.Ondulish/Smdn.Text.Ondulish.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<!--
SPDX-FileCopyrightText: 2012 smdn <smdn@smdn.jp>
SPDX-License-Identifier: MIT
-->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
<VersionPrefix>3.2.0</VersionPrefix>
Expand Down
25 changes: 2 additions & 23 deletions src/Smdn.Text.Ondulish/Smdn.Text.Ondulish/KanaUtils.cs
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
//
// Author:
// smdn <smdn@smdn.jp>
//
// Copyright (c) 2012 smdn
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// SPDX-FileCopyrightText: 2012 smdn <smdn@smdn.jp>
// SPDX-License-Identifier: MIT

using System;
using System.Text;
Expand Down
26 changes: 3 additions & 23 deletions src/Smdn.Text.Ondulish/Smdn.Text.Ondulish/Translator.cs
Original file line number Diff line number Diff line change
@@ -1,26 +1,6 @@
//
// Author:
// smdn <smdn@smdn.jp>
//
// Copyright (c) 2012 smdn
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// SPDX-FileCopyrightText: 2012 smdn <smdn@smdn.jp>
// SPDX-License-Identifier: MIT

using System;
using System.IO;
using System.Linq;
Expand Down
3 changes: 3 additions & 0 deletions src/Smdn.Text.Ondulish/dictionary-phrases.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2012 smdn <smdn@smdn.jp>
# SPDX-License-Identifier: MIT

#
# phrases
#
Expand Down
3 changes: 3 additions & 0 deletions src/Smdn.Text.Ondulish/dictionary-words.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2012 smdn <smdn@smdn.jp>
# SPDX-License-Identifier: MIT

#
# words
#
Expand Down
4 changes: 4 additions & 0 deletions tests/Smdn.Text.Ondulish/Smdn.Text.Ondulish.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
SPDX-FileCopyrightText: 2020 smdn <smdn@smdn.jp>
SPDX-License-Identifier: MIT
-->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition=" '$(EnableTargetFrameworkDotNet)' == 'true' ">net6.0</TargetFrameworks>
Expand Down
7 changes: 5 additions & 2 deletions tests/Smdn.Text.Ondulish/Smdn.Text.Ondulish/KanaUtils.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// SPDX-FileCopyrightText: 2020 smdn <smdn@smdn.jp>
// SPDX-License-Identifier: MIT

using System;

using NUnit.Framework;

Expand Down Expand Up @@ -41,4 +44,4 @@ public void TestConvertWideKatakanaToHiragana(string input, string expected)
KanaUtils.ConvertWideKatakanaToHiragana(input)
);
}
}
}
5 changes: 4 additions & 1 deletion tests/Smdn.Text.Ondulish/Smdn.Text.Ondulish/Translator.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2020 smdn <smdn@smdn.jp>
// SPDX-License-Identifier: MIT

using System;
using System.IO;
using System.Reflection;
Expand Down Expand Up @@ -128,4 +131,4 @@ public void TestTranslateDictionaryTerm_Phrases()
}
}
}
}
}

0 comments on commit d09c988

Please sign in to comment.