Projects tigase _server server-core Issues #1162
Allow interfaces in @ConfigField (#1162)
wojciech.kapcia@tigase.net opened 4 years ago

Currently @ConfigField requires concrete classes and interfaces won't work so instead of using List<String> we have to use ArrayList<String>.

It should be possible to use interfaces just fine, and in that case we could use Collections.unmodifiable____().

Andrzej Wójcik (Tigase) commented 4 years ago

I've modified source code to allow List, Set and Collection interfaces and I'm using unmodifiable instances of those types as values.

issue 1 of 1
Type
Task
Priority
Minor
Assignee
Version
tigase-server-8.2.0
Spent time
1h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1162
Please wait...
Page is in error, reload to recover