We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ea3e9 commit cedeeb5Copy full SHA for cedeeb5
modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/CommunityIdProcessor.java
@@ -400,7 +400,7 @@ String toCommunityId(byte[] seed) {
400
}
401
402
403
- static class Transport {
+ static final class Transport {
404
public enum Type {
405
Unknown(-1),
406
Icmp(1),
@@ -442,8 +442,8 @@ public int getTransportNumber() {
442
443
444
445
- private Type type;
446
- private int transportNumber;
+ private final Type type;
+ private final int transportNumber;
447
448
Transport(int transportNumber, Type type) { // Change constructor to public
449
this.transportNumber = transportNumber;
0 commit comments