Skip to content

Commit 3a39bc2

Browse files
committed
Issue menacher#2 removed prepending I from documentation.
1 parent 282d9c4 commit 3a39bc2

6 files changed

Lines changed: 34 additions & 33 deletions

File tree

jetclient/src/main/java/org/menacheri/jetclient/communication/MessageBuffer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public interface MessageBuffer<T>
296296

297297
/**
298298
* Returns the actual buffer implementation that is wrapped in this
299-
* IMessageBuffer instance.
299+
* MessageBuffer instance.
300300
*
301301
* @return This method will return the underlying buffer. For Netty that
302302
* would be a {@link ChannelBuffer}, for a core java implementation

jetclient/src/main/java/org/menacheri/jetclient/event/impl/DefaultNetworkEvent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class DefaultNetworkEvent extends DefaultEvent implements NetworkEvent
1919
private static final long serialVersionUID = 1L;
2020

2121
/**
22-
* Default constructor which will set the IDeliveryGuaranty to RELIABLE. It
22+
* Default constructor which will set the {@link DeliveryGuaranty} to RELIABLE. It
2323
* will also set the type of the event to {@link Events#NETWORK_MESSAGE}.
2424
*/
2525
public DefaultNetworkEvent()

jetserver/src/main/java/org/menacheri/jetserver/app/impl/SimpleGame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/**
77
* Domain object representing a game. This is a convenience implementation of
8-
* the IGame interface so that simple games need not implement their own.
8+
* the {@link Game} interface so that simple games need not implement their own.
99
* <b>Note</b> This implementation will throw exception if any of the setter
1010
* methods are invoked. All variables are final in this class and expected to be
1111
* set at object construction.

jetserver/src/main/java/org/menacheri/jetserver/communication/MessageBuffer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public interface MessageBuffer<T> {
296296

297297
/**
298298
* Returns the actual buffer implementation that is wrapped in this
299-
* IMessageBuffer instance.
299+
* MessageBuffer instance.
300300
*
301301
* @return This method will return the underlying buffer. For Netty that
302302
* would be a {@link ChannelBuffer}, for a core java implementation
Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
package org.menacheri.jetserver.event;
2-
3-
/**
4-
* Abstract event handler is a helper class which must be overriden by classes
5-
* which need to implement the IEventHandler interface. The
6-
* {@link #onEvent(Event)} method needs to be implemented by such classes.
7-
*
8-
* @author Abraham Menacherry
9-
*
10-
*/
11-
public abstract class AbstractEventHandler implements EventHandler
12-
{
13-
private final int EVENT_TYPE;
14-
15-
public AbstractEventHandler(int eventType)
16-
{
17-
this.EVENT_TYPE = eventType;
18-
}
19-
20-
@Override
21-
public int getEventType()
22-
{
23-
return EVENT_TYPE;
24-
}
25-
26-
}
1+
package org.menacheri.jetserver.event;
2+
3+
/**
4+
* Abstract event handler is a helper class which must be overriden by classes
5+
* which need to implement the {@link EventHandler} interface. The
6+
* {@link #onEvent(Event)} method needs to be implemented by such classes.
7+
*
8+
* @author Abraham Menacherry
9+
*
10+
*/
11+
public abstract class AbstractEventHandler implements EventHandler
12+
{
13+
private final int EVENT_TYPE;
14+
15+
public AbstractEventHandler(int eventType)
16+
{
17+
this.EVENT_TYPE = eventType;
18+
}
19+
20+
@Override
21+
public int getEventType()
22+
{
23+
return EVENT_TYPE;
24+
}
25+
26+
}

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import org.menacheri.jetserver.communication.DeliveryGuaranty;
44
import org.menacheri.jetserver.communication.DeliveryGuaranty.DeliveryGuarantyOptions;
5-
import org.menacheri.jetserver.event.Events;
65
import org.menacheri.jetserver.event.Event;
6+
import org.menacheri.jetserver.event.Events;
77
import org.menacheri.jetserver.event.NetworkEvent;
88

99
/**
@@ -19,8 +19,9 @@ public class DefaultNetworkEvent extends DefaultEvent implements NetworkEvent
1919
private static final long serialVersionUID = 6486454029499527617L;
2020

2121
/**
22-
* Default constructor which will set the IDeliveryGuaranty to RELIABLE. It
23-
* will also set the type of the event to {@link Events#NETWORK_MESSAGE}.
22+
* Default constructor which will set the {@link DeliveryGuaranty} to
23+
* RELIABLE. It will also set the type of the event to
24+
* {@link Events#NETWORK_MESSAGE}.
2425
*/
2526
public DefaultNetworkEvent()
2627
{

0 commit comments

Comments
 (0)