Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Commit c46260e

Browse files
committed
Renamings in Address
1 parent da4a731 commit c46260e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/scalecube/net/Address.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public Address port(int port) {
134134
* @param portOffset portOffset
135135
* @return address instance
136136
*/
137-
public Address addPortOffset(int portOffset) {
137+
public Address withPortOffset(int portOffset) {
138138
return Address.create(host, port + portOffset);
139139
}
140140

0 commit comments

Comments
 (0)