Minor changes

This commit is contained in:
andrea
2013-09-11 15:44:15 +02:00
parent 3f44eaee39
commit 103d772533
4 changed files with 6 additions and 3 deletions
@@ -152,7 +152,7 @@ public class ConnectDecoderTest {
}
/**
* Encode and insert the given stirng into the given buff
* Encode and insert the given string into the given buff
*/
private IoBuffer encodeString(IoBuffer buff, String str) throws UnsupportedEncodingException {
buff.put(Utils.encodeString(str));
@@ -79,7 +79,7 @@ public class TestUtils {
}
/**
* Verify that the given bytes buffer og the given numBytes length is present
* Verify that the given bytes buffer of the given numBytes length is present
* in the buff starting from the current position.
*/
static void verifyBuff(int numBytes, byte[] bytes, IoBuffer buff) {
@@ -24,6 +24,10 @@ public class ConnectMessage extends AbstractMessage {
String m_clientID;
String m_willtopic;
String m_willMessage;
public ConnectMessage() {
m_messageType = AbstractMessage.CONNECT;
}
public boolean isCleanSession() {
return m_cleanSession;
-1
View File
@@ -21,7 +21,6 @@
<module>netty_parser</module>
<module>broker</module>
<module>benchmarking</module>
<module>parser_commons</module>
</modules>
</project>