Refactoring #55
Labels
No Label
client
server
user made
L
M
S
XL
bug
bugfix
discussion
documentation
feature
maintenance
postponed
refactoring
wontfix
No Milestone
No Assignees
2 Participants
Due Date
No due date set.
Blocks
#53 Breaking IssueProposals
zdm/envoy
Reference: zdm/envoy#55
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "refactoring"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refactored large parts of the client:
SendEvent
in favor of direct access toClient
ChatScene
toLocalDB
Chat
andLocalDB
observable to simplify UI refreshesCloses #21
👍
@ -269,0 +250,4 @@
// message
if (currentChat != null) localDB.getMessage(evt.getID())
.filter(msg -> msg.getSenderID() == client.getSender().getID())
.ifPresent(msg -> Platform.runLater(messageList::refresh));
Did you test this? Is the normal refresh enough?
Yes, it is, as the
refresh
method refreshed all objects inside the list that might have changed.@ -3,12 +3,6 @@ package envoy.util;
import java.util.regex.Pattern;
/**
* Implements contact name validation.
Why has that been taken out?
@ -68,7 +62,7 @@ public final class ObjectWriteProxy {
/**
* Sends an object to all contact in a set that are online.
contacts
@ -77,7 +71,7 @@ public final class ObjectWriteProxy {
/**
* Sends an object to all contact in a set that are online.
contacts