You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.
The documentation of @DefaultStringSet states that an empty Set of Strings is returned on default. The generated code on the other hand returns null by default.
Example:
Base interface:
@SharedPref(SharedPref.Scope.UNIQUE)
publicinterfacePrefsClass {
/* Documentation of @DefaultStringSet states: * "Use on methods in SharedPref annotated class. * The generated method will return an empty java.util.Set of Strings by default." */@DefaultStringSetpublicSet<String> stringSetPref();
}
AA version: 3.2
The documentation of
@DefaultStringSet
states that an empty Set of Strings is returned on default. The generated code on the other hand returnsnull
by default.Example:
Base interface:
Generated code:
Expected code:
The text was updated successfully, but these errors were encountered: