mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add @VisibleForTesting annotation
The access modifier on CompositeOptionSet was changed to public
in commit c402386
, to make it visible to the apitest config
class. The annotation added in this change concisely explains
why the class is not package protected.
This commit is contained in:
parent
1efb8c8bee
commit
7ed5028b8e
@ -4,6 +4,8 @@ import joptsimple.ArgumentAcceptingOptionSpec;
|
||||
import joptsimple.OptionSet;
|
||||
import joptsimple.OptionSpec;
|
||||
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@ -17,6 +19,7 @@ import java.util.List;
|
||||
* the command line with those provided via config file, such that those provided at the
|
||||
* command line take precedence over those provided in the config file.
|
||||
*/
|
||||
@VisibleForTesting
|
||||
public class CompositeOptionSet {
|
||||
|
||||
private final List<OptionSet> optionSets = new ArrayList<>();
|
||||
|
Loading…
Reference in New Issue
Block a user