http://git-wip-us.apache.org/repos/asf/lucenenet/blob/076384a7/src/Lucene.Net/Support/StringExtensions.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/Support/StringExtensions.cs b/src/Lucene.Net/Support/StringExtensions.cs index 41aa6a3..fe815d4 100644 --- a/src/Lucene.Net/Support/StringExtensions.cs +++ b/src/Lucene.Net/Support/StringExtensions.cs @@ -4,6 +4,23 @@ using System.Text; namespace Lucene.Net.Support { + /* + * 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. + */ + public static class StringExtensions { public static byte[] GetBytes(this string str, Encoding enc)
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/076384a7/src/Lucene.Net/Support/StringTokenizer.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/Support/StringTokenizer.cs b/src/Lucene.Net/Support/StringTokenizer.cs index 4c820e9..46843d3 100644 --- a/src/Lucene.Net/Support/StringTokenizer.cs +++ b/src/Lucene.Net/Support/StringTokenizer.cs @@ -4,6 +4,23 @@ using System.Text; namespace Lucene.Net.Support { + /* + * 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. + */ + public sealed class StringTokenizer { private readonly TokenParsingStrategy _strategy; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/076384a7/src/Lucene.Net/Support/TaskSchedulerCompletionService.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/Support/TaskSchedulerCompletionService.cs b/src/Lucene.Net/Support/TaskSchedulerCompletionService.cs index bd1c616..487aa95 100644 --- a/src/Lucene.Net/Support/TaskSchedulerCompletionService.cs +++ b/src/Lucene.Net/Support/TaskSchedulerCompletionService.cs @@ -3,6 +3,23 @@ using System.Threading.Tasks; namespace Lucene.Net.Support { + /* + * 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. + */ + public class TaskSchedulerCompletionService<T> : ICompletionService<T> { private readonly TaskFactory<T> factory; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/076384a7/src/Lucene.Net/Support/Time.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/Support/Time.cs b/src/Lucene.Net/Support/Time.cs index cd477e9..cfa5079 100644 --- a/src/Lucene.Net/Support/Time.cs +++ b/src/Lucene.Net/Support/Time.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.Support { + /* + * 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. + */ + public static class Time { public const long MILLISECONDS_PER_NANOSECOND = 1000000; http://git-wip-us.apache.org/repos/asf/lucenenet/blob/076384a7/src/Lucene.Net/Support/WritableArrayAttribute.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/Support/WritableArrayAttribute.cs b/src/Lucene.Net/Support/WritableArrayAttribute.cs index 698b2ae..4eef404 100644 --- a/src/Lucene.Net/Support/WritableArrayAttribute.cs +++ b/src/Lucene.Net/Support/WritableArrayAttribute.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.Support { + /* + * 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. + */ + /// <summary> /// Attribute to define a property or method as a writable array. /// Per MSDN, members should never return arrays because the array contents
