Skip to content

Commit

Permalink
fix for bolt msg extend class
Browse files Browse the repository at this point in the history
  • Loading branch information
chuailiwu committed May 9, 2024
1 parent f84abc1 commit 1be84fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.alipay.sofa</groupId>
<artifactId>bolt</artifactId>
<version>1.6.8</version>
<version>1.6.9</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/alipay/remoting/BaseRemoting.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public abstract class BaseRemoting {
.getLogger("CommonDefault");
private final static long ABANDONING_REQUEST_THRESHOLD = 0L;

private CommandFactory defalutCommandFactory;
protected CommandFactory defaultCommandFactory;

public BaseRemoting(CommandFactory commandFactory) {
this.defalutCommandFactory = commandFactory;
this.defaultCommandFactory = commandFactory;
}

/**
Expand Down Expand Up @@ -332,7 +332,7 @@ protected abstract InvokeFuture createInvokeFuture(final Connection conn,
protected CommandFactory getCommandFactory() {
LOGGER
.warn("The method getCommandFactory() is deprecated. Please use getCommandFactory(ProtocolCode/Connection) instead.");
return defalutCommandFactory;
return defaultCommandFactory;
}

protected CommandFactory getCommandFactory(Connection conn) {
Expand Down

0 comments on commit 1be84fa

Please sign in to comment.