OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 65 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 65 Rev 174
Line 64... Line 64...
64
 
64
 
65
    @Override
65
    @Override
66
    public String format(Object o, CellStyle defaultStyle, boolean lenient) {
66
    public String format(Object o, CellStyle defaultStyle, boolean lenient) {
67
        final Boolean b = (Boolean) o;
67
        final Boolean b = (Boolean) o;
68
        final Namespace numberNS = this.getElement().getNamespace();
68
        final Namespace numberNS = this.getElement().getNamespace();
69
        final Locale styleLocale = DateStyle.getLocale(getElement());
69
        final Locale styleLocale = this.getLocale();
70
        final StringBuilder sb = new StringBuilder();
70
        final StringBuilder sb = new StringBuilder();
71
        @SuppressWarnings("unchecked")
71
        @SuppressWarnings("unchecked")
72
        final List<Element> children = this.getElement().getChildren();
72
        final List<Element> children = this.getElement().getChildren();
73
        for (final Element elem : children) {
73
        for (final Element elem : children) {
74
            if (elem.getNamespace().equals(numberNS)) {
74
            if (elem.getNamespace().equals(numberNS)) {