Skip to content

Commit 7aab811

Browse files
committed
Add legal notices to C# source files
Run the following shell code to add a basic Apache 2.0 legal notice to the top of source files while preserving the Byte-Order-Mark: find * -name '*.cs' | while read f; do sed -i '1s|^\(\xEF\xBB\xBF\)\?|&#region CopyrightHeader\ //\ // Copyright by Contributors\ //\ // Licensed under the Apache License, Version 2.0 (the "License");\ // you may not use this file except in compliance with the License.\ // You may obtain a copy of the License at\ //\ // http://www.apache.org/licenses/LICENSE-2.0.txt\ //\ // Unless required by applicable law or agreed to in writing, software\ // distributed under the License is distributed on an "AS IS" BASIS,\ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\ // See the License for the specific language governing permissions and\ // limitations under the License.\ //\ ''#endregion\ \ |' "$f" done
1 parent 331a7c8 commit 7aab811

File tree

255 files changed

+4666
-76
lines changed

Some content is hidden

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

255 files changed

+4666
-76
lines changed

mdws-test/Properties/AssemblyInfo.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
using System.Reflection;
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
using System.Reflection;
220
using System.Runtime.CompilerServices;
321
using System.Runtime.InteropServices;
422

mdws-test/Properties/Settings.Designer.cs

+19-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mdws-test/Web References/EmrProxy/Reference.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
//------------------------------------------------------------------------------
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
//------------------------------------------------------------------------------
220
// <auto-generated>
321
// This code was generated by a tool.
422
// Runtime Version:4.0.30319.269

mdws-test/src/MdwsConfigurationTest.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
using System;
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
using System;
220
using System.Collections.Generic;
321
using System.Linq;
422
using System.Text;

mdws-test/src/StringTestObject.cs

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
119
using System;
220
using System.Collections.Generic;
321
using System.Text;

mdws-test/src/TestObjects.cs

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
119
using System;
220
using System.Collections.Generic;
321
using System.Text;

mdws-test/src/TestSetups.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
using System;
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
using System;
220
using System.Collections.Generic;
321
using System.Text;
422
using Spring.Context;

mdws/Properties/AssemblyInfo.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
using System.Reflection;
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
using System.Reflection;
220
using System.Runtime.CompilerServices;
321
using System.Runtime.InteropServices;
422

mdws/Properties/Settings.Designer.cs

+19-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mdws/Service.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
using System;
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
using System;
220
using System.Collections.Generic;
321
using System.Linq;
422
using System.Web;

mdws/Web/Dashboard.aspx.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
using System;
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
using System;
220
using System.Collections.Generic;
321
using System.Linq;
422
using System.Web;

mdws/Web/Dashboard.aspx.designer.cs

+19-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mdws/Web/Validate.aspx.cs

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
119
using System;
220
using System.IO;
321
using System.Text;

mdws/Web/auth/Administration.aspx.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
using System;
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
using System;
220
using System.Collections.Generic;
321
using System.Linq;
422
using System.Web;

mdws/Web/auth/Administration.aspx.designer.cs

+19-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mdws/src/AOPLoggers.cs

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
119

220
#region Imports
321
using System;

mdws/src/ApplicationSession.cs

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
using System;
1+
#region CopyrightHeader
2+
//
3+
// Copyright by Contributors
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0.txt
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
#endregion
18+
19+
using System;
220
using System.Collections.Generic;
321
using System.Configuration;
422
using System.Web;

0 commit comments

Comments
 (0)