You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2019/03/16 01:41:53 UTC
[hawq] 01/01: Fix apache license header for cloud support
This is an automated email from the ASF dual-hosted git repository.
huor pushed a commit to branch huor_cloud
in repository https://gitbox.apache.org/repos/asf/hawq.git
commit 134be9452ffd4bc788407b347347631f0a8ded90
Author: Ruilong Huo <hu...@apache.org>
AuthorDate: Sat Mar 16 09:41:17 2019 +0800
Fix apache license header for cloud support
---
src/backend/libpq/cloudrest.c | 24 ++++++++++++++++++------
src/include/utils/cloudrest.h | 25 +++++++++++++++++++------
2 files changed, 37 insertions(+), 12 deletions(-)
diff --git a/src/backend/libpq/cloudrest.c b/src/backend/libpq/cloudrest.c
index dec2548..196e316 100644
--- a/src/backend/libpq/cloudrest.c
+++ b/src/backend/libpq/cloudrest.c
@@ -1,9 +1,21 @@
-///////////////////////////////////////////////////////////////////////////////
-// Copyright 2016, Oushu Inc.
-// All rights reserved.
-//
-// Author:
-///////////////////////////////////////////////////////////////////////////////
+/*
+ * 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 "utils/cloudrest.h"
diff --git a/src/include/utils/cloudrest.h b/src/include/utils/cloudrest.h
index e4e3cc8..8ebd8aa 100644
--- a/src/include/utils/cloudrest.h
+++ b/src/include/utils/cloudrest.h
@@ -1,9 +1,22 @@
-///////////////////////////////////////////////////////////////////////////////
-// Copyright 2016, Oushu Inc.
-// All rights reserved.
-//
-// Author:
-///////////////////////////////////////////////////////////////////////////////
+/*
+ * 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 SRC_INCLUDE_UTILS_CLOUDREST_H_
#define SRC_INCLUDE_UTILS_CLOUDREST_H_