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

Gaetan Boismal
10.30.2015 8e398549fb76484e922d6ebfb8519d8dd3c1c2ac
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, April 10, 2015 12:30 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, April 10, 2015 12:30 +0200
commit8e398549fb76484e922d6ebfb8519d8dd3c1c2ac
tree a069aac245ca3e7fb7785bc6cad16fd880b4480b tree | zip | gz
parent cb333df1bc1ddfa7b266cd03d3148e33aea52e1b view | diff
OPENDJ-1932 Code cleanup

* NewBaseDNPanel.java
** validateAutomaticallyGenerated(final Set<LocalizableMessage> errors)
*** Extract local constants
*** Add final keyword

* StatusGenericPanel.java
** checkIntValue(Collection<LocalizableMessage> errors, String stringValue,int minValue, int maxValue, LocalizableMessage errMsg)
*** Now return a boolean to allow client code to use conditionnal code after call
*** Don't throw runtime exception anymore (Thanks Jean-Noël for refactoring advices!)

* ExportLDIFPanel.java
** okClicked()
** Consequences of checkIntValue changes
3 files modified
62 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ExportLDIFPanel.java 13 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewBaseDNPanel.java 15 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java 34 ●●●●● diff | view | raw | blame | history