From 48f70378986596b9b69caac5c34918b895c04bd9 Mon Sep 17 00:00:00 2001 From: William278 Date: Sat, 2 Mar 2024 15:52:54 +0000 Subject: [PATCH] fix: update license headers --- .../husksync/database/MongoDbDatabase.java | 19 +++++++++++++++++++ .../database/mongo/MongoCollectionHelper.java | 19 +++++++++++++++++++ .../mongo/MongoConnectionHandler.java | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/common/src/main/java/net/william278/husksync/database/MongoDbDatabase.java b/common/src/main/java/net/william278/husksync/database/MongoDbDatabase.java index 1731ab1d..d2ca60f7 100644 --- a/common/src/main/java/net/william278/husksync/database/MongoDbDatabase.java +++ b/common/src/main/java/net/william278/husksync/database/MongoDbDatabase.java @@ -1,3 +1,22 @@ +/* + * This file is part of HuskSync, licensed under the Apache License 2.0. + * + * Copyright (c) William278 + * Copyright (c) contributors + * + * 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. + */ + package net.william278.husksync.database; import com.google.common.collect.Lists; diff --git a/common/src/main/java/net/william278/husksync/database/mongo/MongoCollectionHelper.java b/common/src/main/java/net/william278/husksync/database/mongo/MongoCollectionHelper.java index 5e083359..ec460292 100644 --- a/common/src/main/java/net/william278/husksync/database/mongo/MongoCollectionHelper.java +++ b/common/src/main/java/net/william278/husksync/database/mongo/MongoCollectionHelper.java @@ -1,3 +1,22 @@ +/* + * This file is part of HuskSync, licensed under the Apache License 2.0. + * + * Copyright (c) William278 + * Copyright (c) contributors + * + * 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. + */ + package net.william278.husksync.database.mongo; import com.mongodb.client.MongoCollection; diff --git a/common/src/main/java/net/william278/husksync/database/mongo/MongoConnectionHandler.java b/common/src/main/java/net/william278/husksync/database/mongo/MongoConnectionHandler.java index 92c871c4..1e310b10 100644 --- a/common/src/main/java/net/william278/husksync/database/mongo/MongoConnectionHandler.java +++ b/common/src/main/java/net/william278/husksync/database/mongo/MongoConnectionHandler.java @@ -1,3 +1,22 @@ +/* + * This file is part of HuskSync, licensed under the Apache License 2.0. + * + * Copyright (c) William278 + * Copyright (c) contributors + * + * 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. + */ + package net.william278.husksync.database.mongo; import com.mongodb.MongoClientSettings;