mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Fabio Pistolesi
01.09.2016 f18cfccb63b15a730dfa80599c3caa8ad1142376
refs
author Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Wednesday, June 1, 2016 16:09 +0200
committer Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Thursday, June 2, 2016 10:55 +0200
commitf18cfccb63b15a730dfa80599c3caa8ad1142376
tree 67166a297ccd82c40e4999d5d5e61ee75b37a996 tree | zip | gz
parent 7a923de8376c5046173e21f049d5032e5d95b08f view | diff
OPENDJ-3028 Initialize default argument values after building subcommand arguments

Initialization of default argument values happened after initialization of subcommands, who add a reference to the same argument object.
Default values overrode the base object but not the reference to it for the subcommands.
Of all the CLIs using the CLI parser and Args, only dsreplication has subcommands where the issue was present.
2 files modified
5 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/tools/dsreplication/ReplicationCliArgumentParser.java 3 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/tools/dsreplication/ReplicationCliMain.java 2 ●●●●● diff | view | raw | blame | history