Revision 6d6b02e9
Added by Andreas Kohlbecker over 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/ui/RegistrationUIDefaults.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.cdm.vaadin.ui; |
10 | 10 |
|
11 |
import java.text.DecimalFormat; |
|
12 |
import java.text.NumberFormat; |
|
11 | 13 |
import java.util.Arrays; |
12 | 14 |
import java.util.EnumSet; |
13 | 15 |
import java.util.List; |
... | ... | |
66 | 68 |
public static final String ERROR_CONTACT_MESSAGE_LINE = "Please contact <a href=\"mailto:editsupport@bgbm.org\">editsupport@bgbm.org</a> for support and more information."; |
67 | 69 |
|
68 | 70 |
public static final List<Role> COLLECTION_EDITOR_SUB_COLLECTION_VISIBILITY_RESTRICTION = Arrays.asList(Role.ROLE_ADMIN, RolesAndPermissions.ROLE_CURATION); |
71 |
|
|
72 |
public static NumberFormat NUMBER_FORMAT_OVERRIDE = new DecimalFormat("#"); |
|
69 | 73 |
} |
Also available in: Unified diff
ref #7639 using fixed NumberFormat for integers to avoid locale confusion