Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ protected void fillUpLocalElement(Element element, org.apache.xmlbeans.impl.xb.x
}
if (element.getMinOccurs()!=1)
{
localSElement.setMinOccurs(new BigInteger("" + element.getMinOccurs()));
localSElement.setMinOccurs(BigInteger.valueOf(element.getMinOccurs()));
}

if (element.isNillable())
Expand Down Expand Up @@ -323,7 +323,7 @@ else if (type.getTopParticleForComplexOrMixedContent()==Type.PARTICLE_CHOICE_UNB
{
explicitGroup = sComplexType.addNewChoice();
explicitGroup.setMaxOccurs("unbounded");
explicitGroup.setMinOccurs(new BigInteger("0"));
explicitGroup.setMinOccurs(BigInteger.ZERO);
}
else { throw new IllegalStateException("Unknown particle type in complex and mixed content"); }

Expand Down
Loading