Skip to content

Commit 96611e6

Browse files
committed
replace deprecated vertx logger
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
1 parent a97bde2 commit 96611e6

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

vertx-pg-client/src/main/java/io/vertx/pgclient/impl/codec/DataType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
import io.netty.util.collection.IntObjectHashMap;
2020
import io.netty.util.collection.IntObjectMap;
21+
import io.vertx.core.impl.logging.Logger;
22+
import io.vertx.core.impl.logging.LoggerFactory;
2123
import io.vertx.pgclient.data.Box;
2224
import io.vertx.pgclient.data.Circle;
2325
import io.vertx.pgclient.data.Line;
@@ -28,8 +30,6 @@
2830
import io.vertx.pgclient.data.Point;
2931
import io.vertx.pgclient.data.Polygon;
3032
import io.vertx.core.buffer.Buffer;
31-
import io.vertx.core.logging.Logger;
32-
import io.vertx.core.logging.LoggerFactory;
3333

3434
import java.time.*;
3535
import java.util.UUID;

vertx-pg-client/src/main/java/io/vertx/pgclient/impl/codec/DataTypeCodec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import io.netty.buffer.ByteBuf;
2121
import io.netty.buffer.Unpooled;
2222
import io.netty.handler.codec.DecoderException;
23+
import io.vertx.core.impl.logging.Logger;
24+
import io.vertx.core.impl.logging.LoggerFactory;
2325
import io.vertx.core.json.Json;
2426
import io.vertx.sqlclient.Tuple;
2527
import io.vertx.sqlclient.data.Numeric;
@@ -28,8 +30,6 @@
2830
import io.vertx.core.buffer.Buffer;
2931
import io.vertx.core.json.JsonArray;
3032
import io.vertx.core.json.JsonObject;
31-
import io.vertx.core.logging.Logger;
32-
import io.vertx.core.logging.LoggerFactory;
3333
import io.vertx.sqlclient.impl.codec.CommonCodec;
3434

3535
import java.nio.charset.StandardCharsets;

vertx-pg-client/src/main/java/io/vertx/pgclient/impl/codec/NoticeResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
package io.vertx.pgclient.impl.codec;
1919

20+
import io.vertx.core.impl.logging.Logger;
2021
import io.vertx.sqlclient.impl.Notice;
21-
import io.vertx.core.logging.Logger;
2222

2323
/**
2424
* @author <a href="mailto:emad.albloushi@gmail.com">Emad Alblueshi</a>

vertx-pg-client/src/main/java/io/vertx/pgclient/impl/codec/PgCommandCodec.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
*/
1717
package io.vertx.pgclient.impl.codec;
1818

19+
import io.vertx.core.impl.logging.Logger;
20+
import io.vertx.core.impl.logging.LoggerFactory;
1921
import io.vertx.pgclient.PgException;
2022
import io.vertx.sqlclient.impl.command.CommandResponse;
2123
import io.vertx.sqlclient.impl.command.CommandBase;
2224
import io.netty.buffer.ByteBuf;
2325
import io.vertx.core.Handler;
24-
import io.vertx.core.logging.Logger;
25-
import io.vertx.core.logging.LoggerFactory;
2626

2727
abstract class PgCommandCodec<R, C extends CommandBase<R>> {
2828

@@ -91,11 +91,11 @@ void handleCommandComplete(int updated) {
9191
void handleAuthenticationMD5Password(byte[] salt) {
9292
logger.warn(getClass().getSimpleName() + " should handle message AuthenticationMD5Password");
9393
}
94-
94+
9595
void handleAuthenticationSasl(ByteBuf in) {
9696
logger.warn(getClass().getSimpleName() + " should handle message AuthenticationSasl");
9797
}
98-
98+
9999
void handleAuthenticationSaslContinue(ByteBuf in) {
100100
logger.warn(getClass().getSimpleName() + " should handle message AuthenticationSaslContinue");
101101
}

vertx-pg-client/src/main/java/io/vertx/pgclient/impl/codec/SimpleQueryCodec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
*/
1717
package io.vertx.pgclient.impl.codec;
1818

19-
import io.vertx.core.logging.Logger;
20-
import io.vertx.core.logging.LoggerFactory;
19+
import io.vertx.core.impl.logging.Logger;
20+
import io.vertx.core.impl.logging.LoggerFactory;
2121
import io.vertx.sqlclient.impl.command.SimpleQueryCommand;
2222

2323
class SimpleQueryCodec<T> extends QueryCommandBaseCodec<T, SimpleQueryCommand<T>> {

vertx-pg-client/src/main/java/io/vertx/pgclient/impl/pubsub/PgSubscriberImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
*/
1717
package io.vertx.pgclient.impl.pubsub;
1818

19+
import io.vertx.core.impl.logging.Logger;
20+
import io.vertx.core.impl.logging.LoggerFactory;
1921
import io.vertx.pgclient.*;
2022
import io.vertx.pgclient.pubsub.PgSubscriber;
2123
import io.vertx.pgclient.pubsub.PgChannel;
2224
import io.vertx.core.*;
23-
import io.vertx.core.logging.Logger;
24-
import io.vertx.core.logging.LoggerFactory;
2525
import io.vertx.core.streams.ReadStream;
2626

2727
import java.util.*;

vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/Notice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
package io.vertx.sqlclient.impl;
1818

19-
import io.vertx.core.logging.Logger;
19+
import io.vertx.core.impl.logging.Logger;
2020

2121
public interface Notice {
2222

vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/SocketConnectionBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
import io.vertx.core.Vertx;
2828
import io.vertx.core.VertxException;
2929
import io.vertx.core.impl.ContextInternal;
30+
import io.vertx.core.impl.logging.Logger;
31+
import io.vertx.core.impl.logging.LoggerFactory;
3032
import io.vertx.core.net.impl.NetSocketInternal;
31-
import io.vertx.core.logging.Logger;
32-
import io.vertx.core.logging.LoggerFactory;
3333
import io.vertx.sqlclient.impl.cache.PreparedStatementCache;
3434
import io.vertx.sqlclient.impl.codec.InvalidCachedStatementEvent;
3535
import io.vertx.sqlclient.impl.command.*;

0 commit comments

Comments
 (0)