-
Notifications
You must be signed in to change notification settings - Fork 20
Tips & Tricks
David Gerber edited this page Oct 12, 2025
·
2 revisions
- add the
Environmentbean - use the following check:
if (environment.acceptsProfiles(Profiles.of("dev")))
When using a Retroshare feature that is deprecated (for example an old item that has been replaced by a newer one), use the @RsDeprecated annotation. It takes one argument which is the Retroshare version since when the feature is deprecated, for example:
@RsDeprecated(since = "0.6.5")
public class ChatRoomInviteOldItem extends Item