File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2828/** Address utility container message. Is not a pure {@link TcpDiscoveryAbstractMessage}. */
2929public class InetAddressMessage implements Message {
3030 /** */
31- @ Order (value = 0 , method = "addressBytes" )
32- private byte [] addrBytes ;
31+ @ Order (0 )
32+ private String hostName ;
3333
3434 /** */
35- @ Order (1 )
36- private String hostName ;
35+ @ Order (value = 1 , method = "addressBytes" )
36+ private byte [] addrBytes ;
3737
3838 /** Default constructor for {@link DiscoveryMessageFactory}. */
3939 public InetAddressMessage () {
@@ -42,8 +42,8 @@ public InetAddressMessage() {
4242
4343 /** @param addr Address. */
4444 public InetAddressMessage (InetAddress addr ) {
45- addrBytes = addr .getAddress ();
4645 hostName = addr .getHostName ();
46+ addrBytes = addr .getAddress ();
4747 }
4848
4949 /** @return {@link InetAddress#getAddress()} */
You can’t perform that action at this time.
0 commit comments