You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2012/11/22 17:08:49 UTC
svn commit: r1412598 - in /lucene/dev/trunk/lucene/tools/forbiddenApis:
commons-io.txt executors.txt jdk-deprecated.txt jdk.txt system-out.txt
tests.txt
Author: uschindler
Date: Thu Nov 22 16:08:48 2012
New Revision: 1412598
URL: http://svn.apache.org/viewvc?rev=1412598&view=rev
Log:
LUCENE-4570: Add missing license headers
Modified:
lucene/dev/trunk/lucene/tools/forbiddenApis/commons-io.txt
lucene/dev/trunk/lucene/tools/forbiddenApis/executors.txt
lucene/dev/trunk/lucene/tools/forbiddenApis/jdk-deprecated.txt
lucene/dev/trunk/lucene/tools/forbiddenApis/jdk.txt
lucene/dev/trunk/lucene/tools/forbiddenApis/system-out.txt
lucene/dev/trunk/lucene/tools/forbiddenApis/tests.txt
Modified: lucene/dev/trunk/lucene/tools/forbiddenApis/commons-io.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/tools/forbiddenApis/commons-io.txt?rev=1412598&r1=1412597&r2=1412598&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/tools/forbiddenApis/commons-io.txt (original)
+++ lucene/dev/trunk/lucene/tools/forbiddenApis/commons-io.txt Thu Nov 22 16:08:48 2012
@@ -1,3 +1,18 @@
+# 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.
+
# These methods and classes from commons-io should not be used by Solr classes (unsafe, no charset,...):
org.apache.commons.io.IOUtils#copy(java.io.InputStream,java.io.Writer)
Modified: lucene/dev/trunk/lucene/tools/forbiddenApis/executors.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/tools/forbiddenApis/executors.txt?rev=1412598&r1=1412597&r2=1412598&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/tools/forbiddenApis/executors.txt (original)
+++ lucene/dev/trunk/lucene/tools/forbiddenApis/executors.txt Thu Nov 22 16:08:48 2012
@@ -1,3 +1,18 @@
+# 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.
+
# These methods spawn threads with vague names. Use a custom thread factory and name
# threads so that you can tell (by its name) which executor it is associated with.
# see Solr's DefaultSolrThreadFactory
Modified: lucene/dev/trunk/lucene/tools/forbiddenApis/jdk-deprecated.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/tools/forbiddenApis/jdk-deprecated.txt?rev=1412598&r1=1412597&r2=1412598&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/tools/forbiddenApis/jdk-deprecated.txt (original)
+++ lucene/dev/trunk/lucene/tools/forbiddenApis/jdk-deprecated.txt Thu Nov 22 16:08:48 2012
@@ -1,3 +1,18 @@
+# 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.
+
# these are all deprecated in jdk 6: make them fail the build (java[x].* only)
# http://docs.oracle.com/javase/6/docs/api/deprecated-list.html
# TODO: would be great to find a simple way to autogen this
Modified: lucene/dev/trunk/lucene/tools/forbiddenApis/jdk.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/tools/forbiddenApis/jdk.txt?rev=1412598&r1=1412597&r2=1412598&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/tools/forbiddenApis/jdk.txt (original)
+++ lucene/dev/trunk/lucene/tools/forbiddenApis/jdk.txt Thu Nov 22 16:08:48 2012
@@ -1,3 +1,18 @@
+# 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.
+
# These methods and classes should not be used by Lucene classes (unsafe, no charset,...):
java.lang.String#<init>(byte[])
Modified: lucene/dev/trunk/lucene/tools/forbiddenApis/system-out.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/tools/forbiddenApis/system-out.txt?rev=1412598&r1=1412597&r2=1412598&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/tools/forbiddenApis/system-out.txt (original)
+++ lucene/dev/trunk/lucene/tools/forbiddenApis/system-out.txt Thu Nov 22 16:08:48 2012
@@ -1,3 +1,18 @@
+# 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.
+
# Don't allow System.out/System.err usage in non-test Lucene code
java.lang.System#out
java.lang.System#err
Modified: lucene/dev/trunk/lucene/tools/forbiddenApis/tests.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/tools/forbiddenApis/tests.txt?rev=1412598&r1=1412597&r2=1412598&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/tools/forbiddenApis/tests.txt (original)
+++ lucene/dev/trunk/lucene/tools/forbiddenApis/tests.txt Thu Nov 22 16:08:48 2012
@@ -1,3 +1,18 @@
+# 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.
+
# All classes should derive from LuceneTestCase
junit.framework.TestCase