From 703200c9d086f25e293269445d73e1bee8d067ee Mon Sep 17 00:00:00 2001 From: Jens Geyer Date: Tue, 15 Apr 2014 21:54:55 +0200 Subject: [PATCH] Added missing ASF headers --- .../Transport/TNamedPipeClientTransport.cs | 25 ++++++++++++++++++- .../Transport/TNamedPipeServerTransport.cs | 25 ++++++++++++++++++- lib/csharp/test/JSON/JSONTest.csproj | 18 +++++++++++++ .../test/JSON/Properties/AssemblyInfo.cs | 21 +++++++++++++++- lib/csharp/test/JSON/app.config | 18 +++++++++++++ .../codegen/run-Pascal-Codegen-Tests.bat.tmpl | 18 +++++++++++++ 6 files changed, 122 insertions(+), 3 deletions(-) diff --git a/lib/csharp/src/Transport/TNamedPipeClientTransport.cs b/lib/csharp/src/Transport/TNamedPipeClientTransport.cs index 4c320e61..7dafdd60 100644 --- a/lib/csharp/src/Transport/TNamedPipeClientTransport.cs +++ b/lib/csharp/src/Transport/TNamedPipeClientTransport.cs @@ -1,4 +1,27 @@ -using System.IO.Pipes; +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 + * + * 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. + * + * Contains some contributions under the Thrift Software License. + * Please see doc/old-thrift-license.txt in the Thrift distribution for + * details. + */ + +using System.IO.Pipes; namespace Thrift.Transport { diff --git a/lib/csharp/src/Transport/TNamedPipeServerTransport.cs b/lib/csharp/src/Transport/TNamedPipeServerTransport.cs index b87898ee..815af195 100644 --- a/lib/csharp/src/Transport/TNamedPipeServerTransport.cs +++ b/lib/csharp/src/Transport/TNamedPipeServerTransport.cs @@ -1,4 +1,27 @@ -using System; +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 + * + * 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. + * + * Contains some contributions under the Thrift Software License. + * Please see doc/old-thrift-license.txt in the Thrift distribution for + * details. + */ + +using System; using System.Collections.Generic; using System.IO.Pipes; diff --git a/lib/csharp/test/JSON/JSONTest.csproj b/lib/csharp/test/JSON/JSONTest.csproj index 510b92bc..61e8e6ca 100644 --- a/lib/csharp/test/JSON/JSONTest.csproj +++ b/lib/csharp/test/JSON/JSONTest.csproj @@ -1,4 +1,22 @@  + Debug diff --git a/lib/csharp/test/JSON/Properties/AssemblyInfo.cs b/lib/csharp/test/JSON/Properties/AssemblyInfo.cs index 96e9ccff..8629f6f6 100644 --- a/lib/csharp/test/JSON/Properties/AssemblyInfo.cs +++ b/lib/csharp/test/JSON/Properties/AssemblyInfo.cs @@ -1,4 +1,23 @@ -using System.Reflection; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 + * + * 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. + */ + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/lib/csharp/test/JSON/app.config b/lib/csharp/test/JSON/app.config index cb2586be..bc39140e 100644 --- a/lib/csharp/test/JSON/app.config +++ b/lib/csharp/test/JSON/app.config @@ -1,3 +1,21 @@ + diff --git a/lib/delphi/test/codegen/run-Pascal-Codegen-Tests.bat.tmpl b/lib/delphi/test/codegen/run-Pascal-Codegen-Tests.bat.tmpl index 698d2569..f1b56a3a 100644 --- a/lib/delphi/test/codegen/run-Pascal-Codegen-Tests.bat.tmpl +++ b/lib/delphi/test/codegen/run-Pascal-Codegen-Tests.bat.tmpl @@ -1,3 +1,21 @@ +REM /* +REM * Licensed to the Apache Software Foundation (ASF) under one +REM * or more contributor license agreements. See the NOTICE file +REM * distributed with this work for additional information +REM * regarding copyright ownership. The ASF licenses this file +REM * to you under the Apache License, Version 2.0 (the +REM * "License"); you may not use this file except in compliance +REM * with the License. You may obtain a copy of the License at +REM * +REM * http://www.apache.org/licenses/LICENSE-2.0 +REM * +REM * Unless required by applicable law or agreed to in writing, +REM * software distributed under the License is distributed on an +REM * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +REM * KIND, either express or implied. See the License for the +REM * specific language governing permissions and limitations +REM * under the License. +REM */ @echo off if ""=="%1" goto CONFIG goto HANDLEDIR -- 2.17.1