lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [1/5] lucenenet git commit: add license headers and license references where needed
Date Wed, 26 Apr 2017 11:11:44 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 5e7ec8a6a -> 66e6b7bac


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestDataOutputStream.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Support/TestDataOutputStream.cs b/src/Lucene.Net.Tests/Support/TestDataOutputStream.cs
index 7536e8a..d9ea977 100644
--- a/src/Lucene.Net.Tests/Support/TestDataOutputStream.cs
+++ b/src/Lucene.Net.Tests/Support/TestDataOutputStream.cs
@@ -1,4 +1,25 @@
-using Lucene.Net.Attributes;
+/*
+ *
+ * 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 Lucene.Net.Attributes;
 using Lucene.Net.Util;
 using NUnit.Framework;
 using System;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestLongBuffer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Support/TestLongBuffer.cs b/src/Lucene.Net.Tests/Support/TestLongBuffer.cs
index 13bc37a..ffde715 100644
--- a/src/Lucene.Net.Tests/Support/TestLongBuffer.cs
+++ b/src/Lucene.Net.Tests/Support/TestLongBuffer.cs
@@ -1,4 +1,25 @@
-using Lucene.Net.Attributes;
+/*
+ *
+ * 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 Lucene.Net.Attributes;
 using NUnit.Framework;
 using System;
 using System.Reflection;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs b/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs
index ac09656..8e34226 100644
--- a/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs
+++ b/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs
@@ -1,4 +1,25 @@
-using Lucene.Net.Attributes;
+/*
+ *
+ * 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 Lucene.Net.Attributes;
 using NUnit.Framework;
 using System;
 using System.Collections.Concurrent;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestSafeTextWriterWrapper.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Support/TestSafeTextWriterWrapper.cs b/src/Lucene.Net.Tests/Support/TestSafeTextWriterWrapper.cs
index cdf8984..28d7d86 100644
--- a/src/Lucene.Net.Tests/Support/TestSafeTextWriterWrapper.cs
+++ b/src/Lucene.Net.Tests/Support/TestSafeTextWriterWrapper.cs
@@ -1,4 +1,25 @@
-using Lucene.Net.Util;
+/*
+ *
+ * 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 Lucene.Net.Util;
 using NUnit.Framework;
 using System;
 using System.IO;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestStringBuilderExtensions.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Support/TestStringBuilderExtensions.cs b/src/Lucene.Net.Tests/Support/TestStringBuilderExtensions.cs
index f7c23d0..7debed1 100644
--- a/src/Lucene.Net.Tests/Support/TestStringBuilderExtensions.cs
+++ b/src/Lucene.Net.Tests/Support/TestStringBuilderExtensions.cs
@@ -1,4 +1,25 @@
-using Lucene.Net.Attributes;
+/*
+ *
+ * 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 Lucene.Net.Attributes;
 using NUnit.Framework;
 using System;
 using System.Text;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net.Tests/Support/TestToStringUtils.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Support/TestToStringUtils.cs b/src/Lucene.Net.Tests/Support/TestToStringUtils.cs
index 04af516..24cbc4d 100644
--- a/src/Lucene.Net.Tests/Support/TestToStringUtils.cs
+++ b/src/Lucene.Net.Tests/Support/TestToStringUtils.cs
@@ -1,4 +1,25 @@
-using Lucene.Net.Attributes;
+/*
+ *
+ * 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 Lucene.Net.Attributes;
 using Lucene.Net.Util;
 using NUnit.Framework;
 using System;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net/Lucene.Net.csproj
----------------------------------------------------------------------
diff --git a/src/Lucene.Net/Lucene.Net.csproj b/src/Lucene.Net/Lucene.Net.csproj
index d217306..a989115 100644
--- a/src/Lucene.Net/Lucene.Net.csproj
+++ b/src/Lucene.Net/Lucene.Net.csproj
@@ -1,4 +1,25 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
   <PropertyGroup>
@@ -886,4 +907,4 @@
     </Compile>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.Targets" />
-</Project>
\ No newline at end of file
+</Project>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net/Lucene.Net.xproj
----------------------------------------------------------------------
diff --git a/src/Lucene.Net/Lucene.Net.xproj b/src/Lucene.Net/Lucene.Net.xproj
index b9bca45..b5aea4c 100644
--- a/src/Lucene.Net/Lucene.Net.xproj
+++ b/src/Lucene.Net/Lucene.Net.xproj
@@ -1,4 +1,24 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
 <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
     <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@@ -16,4 +36,4 @@
     <SchemaVersion>2.0</SchemaVersion>
   </PropertyGroup>
   <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)'
!= ''" />
-</Project>
\ No newline at end of file
+</Project>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/66e6b7ba/src/Lucene.Net/Support/ThreadFactory.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net/Support/ThreadFactory.cs b/src/Lucene.Net/Support/ThreadFactory.cs
index f703520..df92198 100644
--- a/src/Lucene.Net/Support/ThreadFactory.cs
+++ b/src/Lucene.Net/Support/ThreadFactory.cs
@@ -1,4 +1,25 @@
-// LUCENENET NOTE: The only class that depends on this is NamedThreadFactory, which is
Java-specific, so this is being excluded.
+/*
+ *
+ * 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.
+ *
+*/
+
+// LUCENENET NOTE: The only class that depends on this is NamedThreadFactory, which is Java-specific,
so this is being excluded.
 
 //using System.Threading;
 
@@ -8,4 +29,4 @@
 //    {
 //        public abstract Thread NewThread(IThreadRunnable r);
 //    }
-//}
\ No newline at end of file
+//}


Mime
View raw message