Skip to content

Commit 4abc232

Browse files
committed
Trivial change in enum access mode.
1 parent 9432254 commit 4abc232

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

jetserver/src/main/java/org/menacheri/event/impl/NetworkEvent.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
public class NetworkEvent extends Event implements INetworkEvent
1717
{
18-
IDeliveryGuaranty guaranty;
18+
private IDeliveryGuaranty guaranty = DeliveryGuaranty.RELIABLE;;
1919
private static final long serialVersionUID = 6486454029499527617L;
2020

2121
/**
@@ -25,7 +25,7 @@ public class NetworkEvent extends Event implements INetworkEvent
2525
public NetworkEvent()
2626
{
2727
super.setType(Events.NETWORK_MESSAGE);
28-
this.guaranty = IDeliveryGuaranty.DeliveryGuaranty.RELIABLE;
28+
this.guaranty = DeliveryGuaranty.RELIABLE;
2929
}
3030

3131
/**
@@ -40,7 +40,7 @@ public NetworkEvent()
4040
*/
4141
public NetworkEvent(IEvent event)
4242
{
43-
this(event, IDeliveryGuaranty.DeliveryGuaranty.RELIABLE);
43+
this(event, DeliveryGuaranty.RELIABLE);
4444
}
4545

4646
/**
@@ -60,7 +60,7 @@ public NetworkEvent(IEvent event, IDeliveryGuaranty deliveryGuaranty)
6060
this.setSource(event.getSource());
6161
this.setEventContext(event.getEventContext());
6262
this.setTimeStamp(event.getTimeStamp());
63-
this.guaranty = IDeliveryGuaranty.DeliveryGuaranty.RELIABLE;
63+
this.guaranty = DeliveryGuaranty.RELIABLE;
6464
super.setType(Events.NETWORK_MESSAGE);
6565
}
6666

0 commit comments

Comments
 (0)