Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/java/com/alipay/remoting/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ public Set<String> getPoolKeys() {
*
* @param poolKey connection pool key
*/
public void removePoolKey(String poolKey) {
poolKeys.remove(poolKey);
public boolean removePoolKey(String poolKey) {
return poolKeys.remove(poolKey);
}

/**
Expand Down Expand Up @@ -410,8 +410,8 @@ public Object setAttributeIfAbsent(String key, Object value) {
*
* @param key attribute key
*/
public void removeAttribute(String key) {
attributes.remove(key);
public Object removeAttribute(String key) {
return attributes.remove(key);
}

/**
Expand Down
Loading