Skip to content

Commit c0b38cf

Browse files
committed
javadoc
1 parent d2b4862 commit c0b38cf

5 files changed

Lines changed: 22 additions & 12 deletions

File tree

tx-client/src/main/java/com/codingapi/txlcn/client/config/DependenciesImportSelector.java

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2017-2019 CodingApi .
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.codingapi.txlcn.client.config;
217

318
import org.springframework.context.annotation.ImportSelector;
@@ -15,8 +30,8 @@ public class DependenciesImportSelector implements ImportSelector {
1530
/**
1631
* spi classes
1732
*
18-
* @param importingClassMetadata
19-
* @return
33+
* @param importingClassMetadata importingClassMetadata
34+
* @return String[]
2035
*/
2136
@Override
2237
@NonNull

tx-logger/src/main/java/com/codingapi/txlcn/logger/helper/TxLcnLogDbHelper.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,11 @@ public interface TxLcnLogDbHelper {
137137
/**
138138
* 查找日志
139139
*
140-
* @param page
141-
* @param limit
142-
* @param list
140+
* @param page page
141+
* @param limit limit
142+
* @param list list
143143
* @return logs
144+
* @throws TxLoggerException TxLoggerException
144145
*/
145146
LogList findByLimitAndFields(int page, int limit, int timeOrder, List<Field> list) throws TxLoggerException;
146147
}

tx-spi-message-netty/src/main/java/com/codingapi/txlcn/spi/message/netty/handler/ObjectSerializerDecoder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727

2828
/**
2929
* @author lorne
30-
* @date 2019/1/19
31-
* @description
3230
*/
3331
@Slf4j
3432
public class ObjectSerializerDecoder extends MessageToMessageDecoder<ByteBuf> {

tx-spi-message-netty/src/main/java/com/codingapi/txlcn/spi/message/netty/handler/ObjectSerializerEncoder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
/**
2828
* @author lorne
29-
* @date 2019/1/19
30-
* @description
3129
*/
3230
@Slf4j
3331
public class ObjectSerializerEncoder extends MessageToByteEncoder<Serializable> {

tx-spi-message/src/main/java/com/codingapi/txlcn/spi/message/dto/MessageDto.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@
1616
package com.codingapi.txlcn.spi.message.dto;
1717

1818
import com.codingapi.txlcn.spi.message.MessageConstants;
19-
import com.codingapi.txlcn.commons.exception.SerializerException;
20-
import com.codingapi.txlcn.commons.util.serializer.SerializerContext;
2119
import lombok.AllArgsConstructor;
2220
import lombok.Data;
2321
import lombok.NoArgsConstructor;
2422
import lombok.extern.slf4j.Slf4j;
25-
import org.springframework.stereotype.Component;
2623

2724
import java.io.Serializable;
2825

@@ -33,6 +30,7 @@
3330
@AllArgsConstructor
3431
@NoArgsConstructor
3532
@Slf4j
33+
@SuppressWarnings("unchecked")
3634
public class MessageDto implements Serializable {
3735

3836
/**

0 commit comments

Comments
 (0)