Skip to content

Commit 3ff7e9d

Browse files
authored
Merge pull request #490 from marek22k/issue-489
Allow access to PingResult::merge outside the package
2 parents ed9284e + a5d28f5 commit 3ff7e9d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Changes in 3.9.3:
77
- Switch from the legacy Date API to Java's new Time API
88
- Time is now specified in 24-hour format in XML export
99
- Enable exporting very long lines as .txt
10+
- Allow plugins to merge multiple ping results
1011

1112
Changes in 3.9.2:
1213
- Linux: specify Java 17 as minimum required version in .deb and .rpm packages

src/net/azib/ipscan/core/net/PingResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public boolean isTimeoutAdaptationAllowed() {
8787
return timeoutAdaptationAllowed;
8888
}
8989

90-
PingResult merge(PingResult result) {
90+
public PingResult merge(PingResult result) {
9191
this.packetCount += result.packetCount;
9292
this.replyCount += result.replyCount;
9393
return this;

0 commit comments

Comments
 (0)