port map: the ban entry constructor is BanEntry::new

BanListEntry.<init> was the one method of a class this batch maps that the
file never answered, so the ledger still counted it missing. Both vanilla
constructors land in BanEntry:🆕 a missing source becomes (Unknown), and
the createdAt argument is not taken but stamped with now, with a file's stored
date kept by fields() on the read path.
This commit is contained in:
MSedgeMC committed 2026-11-02 14:29:43 +00:00
1 parent cdf62054ce
commit 86ad0cde9f
1 file changed
+1
+1
View File
@@ -91,6 +91,7 @@ PermissionSetUnion.hasPermission skip:other no unions; a sender has one level
PermissionSetUnion.union skip:other no unions; a sender has one level
PermissionSetUnion.ensureNoUnionsWithinUnions skip:java constructor guard against nested unions
PermissionTypes.bootstrap skip:data registry bootstrap of the permission codecs
BanListEntry.<init> port crates/horizon-server-files/src/user_lists.rs::BanEntry::new both vanilla constructors land here: a missing source becomes (Unknown); gap: minor: created is stamped with now instead of being passed, and a file's stored created date is kept by fields() through from_json
BanListEntry.equals port crates/horizon-server-files/src/user_lists.rs::BanEntry::eq same source, expiry, reason and user
BanListEntry.hashCode skip:java hash for map keys; bans are keyed by uuid or ip string
CachedUserNameToIdResolver.lookupGameProfile port crates/horizon-server-files/src/user_cache.rs::UserCache::get_by_name cache first, then the profile lookup, then offline if allowed
1 LinkFSPath skip:other Java path of the in-memory link filesystem; Horizon links host paths (packs.rs::link)
91 PermissionSetUnion.union skip:other no unions; a sender has one level
92 PermissionSetUnion.ensureNoUnionsWithinUnions skip:java constructor guard against nested unions
93 PermissionTypes.bootstrap skip:data registry bootstrap of the permission codecs
94 BanListEntry.<init> port crates/horizon-server-files/src/user_lists.rs::BanEntry::new both vanilla constructors land here: a missing source becomes (Unknown); gap: minor: created is stamped with now instead of being passed, and a file's stored created date is kept by fields() through from_json
95 BanListEntry.equals port crates/horizon-server-files/src/user_lists.rs::BanEntry::eq same source, expiry, reason and user
96 BanListEntry.hashCode skip:java hash for map keys; bans are keyed by uuid or ip string
97 CachedUserNameToIdResolver.lookupGameProfile port crates/horizon-server-files/src/user_cache.rs::UserCache::get_by_name cache first, then the profile lookup, then offline if allowed