Generated by
JDiff

org.cyclos.utils Documentation Differences

This file contains all the changes in documentation in the package org.cyclos.utils as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class BigDecimalHelper, BigDecimal round(BigDecimal, int)

Rounds the given number to the given precisionscale
Class BigDecimalHelper, int MAX_UI_PERCENTAGE_SCALE

All percentages are shown using two separated boxes: one for the integer part and other for the decimal part, butbut they are stored as a unique value in the range [0..1] (divided by 100) then the supported scale for those values is MAX_SCALE - 2 This constant can be used only in the client side by a page showing a PercentageField

Class CollectionHelper, String join(Iterable<?>, String)

Joins a collection of values into a single string, using the given separator. If the collection is null, returns an empty string. If the the separator is null, no separator is used.

Class ColorHelper, String formatRGBasHex(int[])

Returns the HTML hex code for the given RGB color components, in the format #RRGGBB, or null if the array is nullnull or doesn't contains 3 elements

Class MaskHelper, String removeMask(String, String, boolean, boolean)

Removes the given mask from the given value, optionally trimming at mask max length (ex: mask is ###, 12345 wouldwould result 123 if true, and 12345 if false)

Class TranslationHelper, MessageKey messageKey(Submodule, String)

Note that the use of this method is discouraged because the idea is not to use Strings to reference a translationtranslation key.
Instead we recommend the use of .messageKey(MessageKey, Enum) or .messageKey(MessageKey, String). @return a new message key consisting of a submodule and a key.

Class ValidationResult, void merge(ValidationResult, String)

Merges the given ValidationResult with this, optionally prefixing the other property error names with thethe given prefix