Skip to content
This repository has been archived by the owner on May 17, 2020. It is now read-only.

Commit

Permalink
Fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
JacopoWolf committed Dec 3, 2019
1 parent a69b44b commit 5777547
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions PCP/src/main/java/PCP/Min/logic/PCPMinCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import PCP.Min.data.*;
import PCP.*;
import PCP.Min.data.*;
import PCP.PCPException.ErrorCode;
import PCP.data.*;
import PCP.logic.*;
Expand Down Expand Up @@ -72,8 +71,9 @@ public void accept( IPCPData data, IPCPUserInfo from ) throws PCPException
{
MsgUserToGroup msg = (MsgUserToGroup) data;
MsgRecieved msg_tosend = new MsgRecieved
(
(
from.getAlias(),
msg.getOpCode(),
msg.getMessage()
);

Expand Down Expand Up @@ -172,7 +172,7 @@ public void accept( IPCPData data, IPCPUserInfo from ) throws PCPException
// control messages
case GroupUsersListRrq:
{
GroupUserListRrq gulr = (GroupUserListRrq) data;
GroupUsersListRrq gulr = (GroupUsersListRrq) data;

GroupUsersList gul = new GroupUsersList
(
Expand Down
2 changes: 1 addition & 1 deletion PCP/src/main/java/PCP/Min/logic/PCPMinUserInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void setRoom( String room )
@Override
public String toString()
{
return "User: " + getAlias() + " - Room: " + getRoom() + " - Version of the protocol: " + getVersion().FULL_NAME();
return "User: " + getAlias() + " - Room: " + getRoom() + " - Version of the protocol: " + getVersion().FULL_NAME;
}

}

0 comments on commit 5777547

Please sign in to comment.