Repository: mesos Updated Branches: refs/heads/master a4954e531 -> 5084f56da
Add license blobs to Java JNI cpp files. Review: https://reviews.apache.org/r/33781 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5084f56d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5084f56d Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5084f56d Branch: refs/heads/master Commit: 5084f56daad38edcaac59cfd664098ac8d3e2d86 Parents: a4954e5 Author: haosdent huang <[email protected]> Authored: Thu May 28 08:57:24 2015 -0700 Committer: Benjamin Hindman <[email protected]> Committed: Thu May 28 08:57:39 2015 -0700 ---------------------------------------------------------------------- .../jni/org_apache_mesos_MesosNativeLibrary.cpp | 18 ++++++++++++++++++ .../jni/org_apache_mesos_state_AbstractState.cpp | 18 ++++++++++++++++++ .../jni/org_apache_mesos_state_LevelDBState.cpp | 18 ++++++++++++++++++ src/java/jni/org_apache_mesos_state_LogState.cpp | 18 ++++++++++++++++++ src/java/jni/org_apache_mesos_state_Variable.cpp | 18 ++++++++++++++++++ .../jni/org_apache_mesos_state_ZooKeeperState.cpp | 18 ++++++++++++++++++ src/jvm/java/io.hpp | 18 ++++++++++++++++++ src/jvm/java/lang.hpp | 18 ++++++++++++++++++ src/jvm/java/net.hpp | 18 ++++++++++++++++++ src/jvm/jvm.cpp | 18 ++++++++++++++++++ src/jvm/jvm.hpp | 18 ++++++++++++++++++ src/jvm/org/apache/log4j.cpp | 18 ++++++++++++++++++ src/jvm/org/apache/log4j.hpp | 18 ++++++++++++++++++ src/jvm/org/apache/zookeeper.cpp | 18 ++++++++++++++++++ src/jvm/org/apache/zookeeper.hpp | 18 ++++++++++++++++++ 15 files changed, 270 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp ---------------------------------------------------------------------- diff --git a/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp b/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp index 39e342f..63b7ab4 100644 --- a/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp +++ b/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <jni.h> #include <mesos/version.hpp> http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/java/jni/org_apache_mesos_state_AbstractState.cpp ---------------------------------------------------------------------- diff --git a/src/java/jni/org_apache_mesos_state_AbstractState.cpp b/src/java/jni/org_apache_mesos_state_AbstractState.cpp index 2be377c..b454bb1 100644 --- a/src/java/jni/org_apache_mesos_state_AbstractState.cpp +++ b/src/java/jni/org_apache_mesos_state_AbstractState.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <jni.h> #include <set> http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/java/jni/org_apache_mesos_state_LevelDBState.cpp ---------------------------------------------------------------------- diff --git a/src/java/jni/org_apache_mesos_state_LevelDBState.cpp b/src/java/jni/org_apache_mesos_state_LevelDBState.cpp index 30f6309..357e60e 100644 --- a/src/java/jni/org_apache_mesos_state_LevelDBState.cpp +++ b/src/java/jni/org_apache_mesos_state_LevelDBState.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <jni.h> #include <string> http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/java/jni/org_apache_mesos_state_LogState.cpp ---------------------------------------------------------------------- diff --git a/src/java/jni/org_apache_mesos_state_LogState.cpp b/src/java/jni/org_apache_mesos_state_LogState.cpp index 6382b9c..36dc9e1 100644 --- a/src/java/jni/org_apache_mesos_state_LogState.cpp +++ b/src/java/jni/org_apache_mesos_state_LogState.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <jni.h> #include <string> http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/java/jni/org_apache_mesos_state_Variable.cpp ---------------------------------------------------------------------- diff --git a/src/java/jni/org_apache_mesos_state_Variable.cpp b/src/java/jni/org_apache_mesos_state_Variable.cpp index 4d840ce..acdaf2f 100644 --- a/src/java/jni/org_apache_mesos_state_Variable.cpp +++ b/src/java/jni/org_apache_mesos_state_Variable.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <jni.h> #include <string> http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp ---------------------------------------------------------------------- diff --git a/src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp b/src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp index c40e685..d469cae 100644 --- a/src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp +++ b/src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <jni.h> #include <string> http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/java/io.hpp ---------------------------------------------------------------------- diff --git a/src/jvm/java/io.hpp b/src/jvm/java/io.hpp index fcb1409..c3101df 100644 --- a/src/jvm/java/io.hpp +++ b/src/jvm/java/io.hpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #ifndef __JAVA_IO_HPP__ #define __JAVA_IO_HPP__ http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/java/lang.hpp ---------------------------------------------------------------------- diff --git a/src/jvm/java/lang.hpp b/src/jvm/java/lang.hpp index 6fc6566..4f1225c 100644 --- a/src/jvm/java/lang.hpp +++ b/src/jvm/java/lang.hpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #ifndef __JAVA_LANG_HPP__ #define __JAVA_LANG_HPP__ http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/java/net.hpp ---------------------------------------------------------------------- diff --git a/src/jvm/java/net.hpp b/src/jvm/java/net.hpp index cabb3e5..30fcdbd 100644 --- a/src/jvm/java/net.hpp +++ b/src/jvm/java/net.hpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #ifndef __JAVA_NET_HPP__ #define __JAVA_NET_HPP__ http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/jvm.cpp ---------------------------------------------------------------------- diff --git a/src/jvm/jvm.cpp b/src/jvm/jvm.cpp index d33a655..0fda513 100644 --- a/src/jvm/jvm.cpp +++ b/src/jvm/jvm.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <stdarg.h> #include <glog/logging.h> http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/jvm.hpp ---------------------------------------------------------------------- diff --git a/src/jvm/jvm.hpp b/src/jvm/jvm.hpp index 2f2e1d1..90febda 100644 --- a/src/jvm/jvm.hpp +++ b/src/jvm/jvm.hpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #ifndef __JVM_HPP__ #define __JVM_HPP__ http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/org/apache/log4j.cpp ---------------------------------------------------------------------- diff --git a/src/jvm/org/apache/log4j.cpp b/src/jvm/org/apache/log4j.cpp index 105629c..9b44530 100644 --- a/src/jvm/org/apache/log4j.cpp +++ b/src/jvm/org/apache/log4j.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <jvm/org/apache/log4j.hpp> namespace org { http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/org/apache/log4j.hpp ---------------------------------------------------------------------- diff --git a/src/jvm/org/apache/log4j.hpp b/src/jvm/org/apache/log4j.hpp index 0913a6b..3c3faaf 100644 --- a/src/jvm/org/apache/log4j.hpp +++ b/src/jvm/org/apache/log4j.hpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #ifndef __ORG_APACHE_LOG4J_HPP__ #define __ORG_APACHE_LOG4J_HPP__ http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/org/apache/zookeeper.cpp ---------------------------------------------------------------------- diff --git a/src/jvm/org/apache/zookeeper.cpp b/src/jvm/org/apache/zookeeper.cpp index 192b647..fbfaee0 100644 --- a/src/jvm/org/apache/zookeeper.cpp +++ b/src/jvm/org/apache/zookeeper.cpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #include <jvm/org/apache/zookeeper.hpp> namespace org { http://git-wip-us.apache.org/repos/asf/mesos/blob/5084f56d/src/jvm/org/apache/zookeeper.hpp ---------------------------------------------------------------------- diff --git a/src/jvm/org/apache/zookeeper.hpp b/src/jvm/org/apache/zookeeper.hpp index 0797d47..23f9bd2 100644 --- a/src/jvm/org/apache/zookeeper.hpp +++ b/src/jvm/org/apache/zookeeper.hpp @@ -1,3 +1,21 @@ +/** + * 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. + */ + #ifndef __ORG_APACHE_ZOOKEEPER_HPP__ #define __ORG_APACHE_ZOOKEEPER_HPP__
