style: update Copyright

This commit is contained in:
开源海哥 2023-08-03 16:04:47 +08:00
parent 7a1daa2545
commit 44c8fd8d33

View File

@ -1,8 +1,17 @@
/* /*
* Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). <p> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com).
* 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 * <p>
* 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 * Licensed under the Apache License, Version 2.0 (the "License");
* 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.
*/ */
package com.mybatisflex.core.query; package com.mybatisflex.core.query;
@ -24,7 +33,8 @@ public class QueryTable implements CloneSupport<QueryTable> {
protected String name; protected String name;
protected String alias; protected String alias;
public QueryTable() {} public QueryTable() {
}
public QueryTable(TableDef tableDef) { public QueryTable(TableDef tableDef) {
// TableDef的标识符号,0:不确定标识 // TableDef的标识符号,0:不确定标识
@ -111,7 +121,7 @@ public class QueryTable implements CloneSupport<QueryTable> {
@Override @Override
public QueryTable clone() { public QueryTable clone() {
try { try {
return (QueryTable)super.clone(); return (QueryTable) super.clone();
} catch (CloneNotSupportedException e) { } catch (CloneNotSupportedException e) {
throw FlexExceptions.wrap(e); throw FlexExceptions.wrap(e);
} }