Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
COMP90015-DSAss2-InfinityMonkeys-remaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ho Dac Hai
COMP90015-DSAss2-InfinityMonkeys-remaster
Commits
41f853e5
Commit
41f853e5
authored
5 years ago
by
Ho Dac Hai
Browse files
Options
Downloads
Patches
Plain Diff
Replace User.java
parent
a5bc4cdd
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!25
Master
,
!24
Master
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/server/User.java
+5
-10
5 additions, 10 deletions
src/server/User.java
with
5 additions
and
10 deletions
src/server/User.java
+
5
−
10
View file @
41f853e5
...
...
@@ -7,11 +7,10 @@ import remote.IDrawingUpdate;
public
class
User
{
private
String
username
;
private
remote
.
IChatUpdate
IChatUpdate
;
private
remote
.
IDrawingUpdate
IDrawingUpdate
;
private
remote
.
IClientUpdate
IClientUpdate
;
private
IChatUpdate
IChatUpdate
;
private
IDrawingUpdate
IDrawingUpdate
;
private
IClientUpdate
IClientUpdate
;
private
boolean
isAdmin
;
public
User
(
String
username
,
remote
.
IChatUpdate
IChatUpdate
,
remote
.
IClientUpdate
IClientUpdate
,
remote
.
IDrawingUpdate
IDrawingUpdate
)
public
User
(
String
username
,
IChatUpdate
IChatUpdate
,
IClientUpdate
IClientUpdate
,
IDrawingUpdate
IDrawingUpdate
)
{
...
...
@@ -42,11 +41,7 @@ public class User
return
this
.
IChatUpdate
;
}
public
remote
.
IClientUpdate
getIClientUpdate
()
{
return
this
.
IClientUpdate
;
}
public
remote
.
IDrawingUpdate
getIDrawingUpdate
()
{
return
this
.
IDrawingUpdate
;
}
public
IDrawingUpdate
getIDrawingUpdate
()
{
return
this
.
IDrawingUpdate
;
}
public
IClientUpdate
getIClientUpdate
()
{
return
this
.
IClientUpdate
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment