From bafc4de8d75a05f8766670483223f8e5f54cd7d9 Mon Sep 17 00:00:00 2001 From: Sean Busbey <sean.busbey@gmail.com> Date: Mon, 3 Jun 2019 23:52:28 -0500 Subject: [PATCH] [core] add missing license headers. (#1313) * #1249 missed headers when moving things out of Client.java * #1242 missed header on a properties file is added * #1286 missed header on the new pom file --- .../main/java/com/yahoo/ycsb/ClientThread.java | 17 +++++++++++++++++ .../main/java/com/yahoo/ycsb/StatusThread.java | 17 +++++++++++++++++ postgrenosql/conf/postgrenosql.properties | 17 ++++++++++++++++- tablestore/pom.xml | 16 ++++++++++++++++ 4 files changed, 66 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/yahoo/ycsb/ClientThread.java b/core/src/main/java/com/yahoo/ycsb/ClientThread.java index b2df1e44..c9ee0bd7 100644 --- a/core/src/main/java/com/yahoo/ycsb/ClientThread.java +++ b/core/src/main/java/com/yahoo/ycsb/ClientThread.java @@ -1,3 +1,20 @@ +/** + * Copyright (c) 2010-2016 Yahoo! Inc., 2017 YCSB contributors All rights reserved. + * <p> + * Licensed 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 + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * 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. See accompanying + * LICENSE file. + */ + package com.yahoo.ycsb; import com.yahoo.ycsb.measurements.Measurements; diff --git a/core/src/main/java/com/yahoo/ycsb/StatusThread.java b/core/src/main/java/com/yahoo/ycsb/StatusThread.java index d6ddc628..f4ad602a 100644 --- a/core/src/main/java/com/yahoo/ycsb/StatusThread.java +++ b/core/src/main/java/com/yahoo/ycsb/StatusThread.java @@ -1,3 +1,20 @@ +/** + * Copyright (c) 2010-2016 Yahoo! Inc., 2017 YCSB contributors All rights reserved. + * <p> + * Licensed 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 + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * 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. See accompanying + * LICENSE file. + */ + package com.yahoo.ycsb; import com.yahoo.ycsb.measurements.Measurements; diff --git a/postgrenosql/conf/postgrenosql.properties b/postgrenosql/conf/postgrenosql.properties index e93a0064..454f5787 100644 --- a/postgrenosql/conf/postgrenosql.properties +++ b/postgrenosql/conf/postgrenosql.properties @@ -1,4 +1,19 @@ +# Copyright (c) 2017 YCSB contributors. All rights reserved. +# +# Licensed 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. See accompanying +# LICENSE file. + postgrenosql.url = jdbc:postgresql://localhost:5432/test postgrenosql.user = postgres postgrenosql.passwd = postgres -postgrenosql.autocommit = true \ No newline at end of file +postgrenosql.autocommit = true diff --git a/tablestore/pom.xml b/tablestore/pom.xml index 4b2c7adc..33ffdcab 100755 --- a/tablestore/pom.xml +++ b/tablestore/pom.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (c) 2018 YCSB contributors. All rights reserved. + +Licensed 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. See accompanying +LICENSE file. +--> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> -- GitLab