Refactoring #55
2 Participants
Due Date
No due date set.
Blocks
#53 Breaking IssueProposals
zdm/envoy
Reference: zdm/envoy#55
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:
SendEventin favor of direct access toClientChatScenetoLocalDBChatandLocalDBobservable to simplify UI refreshesCloses #21
👍
@@ -269,0 +250,4 @@// messageif (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
refreshmethod 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