From 6b65414d137e49c76ce78bb73f29386a7e09510f Mon Sep 17 00:00:00 2001 From: wgzhao Date: Tue, 20 Aug 2024 11:12:32 +0800 Subject: [PATCH] [bugfix][plugin][rdbmswriter] Fix incorrect package name rename `com.wgzhao.plugin.reader.rdbmswriter` to `com.wgzhao.plugin.writer.rdbmswriter` --- .../rdbmswriter/RdbmsWriter.java | 30 +++++++++---------- .../src/main/resources/plugin.json | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) rename plugin/writer/rdbmswriter/src/main/java/com/wgzhao/addax/plugin/{reader => writer}/rdbmswriter/RdbmsWriter.java (81%) diff --git a/plugin/writer/rdbmswriter/src/main/java/com/wgzhao/addax/plugin/reader/rdbmswriter/RdbmsWriter.java b/plugin/writer/rdbmswriter/src/main/java/com/wgzhao/addax/plugin/writer/rdbmswriter/RdbmsWriter.java similarity index 81% rename from plugin/writer/rdbmswriter/src/main/java/com/wgzhao/addax/plugin/reader/rdbmswriter/RdbmsWriter.java rename to plugin/writer/rdbmswriter/src/main/java/com/wgzhao/addax/plugin/writer/rdbmswriter/RdbmsWriter.java index 226ff9c23..190d72277 100644 --- a/plugin/writer/rdbmswriter/src/main/java/com/wgzhao/addax/plugin/reader/rdbmswriter/RdbmsWriter.java +++ b/plugin/writer/rdbmswriter/src/main/java/com/wgzhao/addax/plugin/writer/rdbmswriter/RdbmsWriter.java @@ -1,23 +1,23 @@ /* - * 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 + * 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 + * 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. + * 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 com.wgzhao.addax.plugin.reader.rdbmswriter; +package com.wgzhao.addax.plugin.writer.rdbmswriter; import com.wgzhao.addax.common.base.Key; import com.wgzhao.addax.common.exception.AddaxException; diff --git a/plugin/writer/rdbmswriter/src/main/resources/plugin.json b/plugin/writer/rdbmswriter/src/main/resources/plugin.json index bcfab9b21..cf195451f 100644 --- a/plugin/writer/rdbmswriter/src/main/resources/plugin.json +++ b/plugin/writer/rdbmswriter/src/main/resources/plugin.json @@ -1,6 +1,6 @@ { "name": "rdbmswriter", - "class": "com.wgzhao.addax.plugin.reader.rdbmswriter.RdbmsWriter", + "class": "com.wgzhao.addax.plugin.writer.rdbmswriter.RdbmsWriter", "description": "general RDBMS writer plugin", "developer": "alibaba", "drivers": []