allen501pc / jlibs

Automatically exported from code.google.com/p/jlibs
0 stars 0 forks source link

Code duplication #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The code of   class Range: 
constructor Range(XSSimpleTypeDefinition simpleType)
sets totalDigits twice!

540:                 facet = getFacet(simpleType, 
XSSimpleTypeDefinition.FACET_TOTALDIGITS);
                if(facet!=null)
                    totalDigits = Integer.parseInt(facet.getLexicalFacetValue());

                facet = getFacet(simpleType, XSSimpleTypeDefinition.FACET_TOTALDIGITS);
                if(facet!=null)
                    totalDigits = Integer.parseInt(facet.getLexicalFacetValue());

Original issue reported on code.google.com by Pierre.v...@gmail.com on 20 Nov 2013 at 1:44

GoogleCodeExporter commented 9 years ago
fixed in r1771

thanks for reporting

Original comment by santhosh.tekuri@gmail.com on 22 Nov 2013 at 4:10

GoogleCodeExporter commented 9 years ago
closing

Original comment by santhosh.tekuri@gmail.com on 22 Nov 2013 at 4:11