CalloutMovement: minor: use autoboxing

This commit is contained in:
teo_sarca 2008-12-08 10:49:58 +00:00
parent f009cb66cb
commit c78bc26b10
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class CalloutMovement extends CalloutEngine
// Set Attribute
if (Env.getContextAsInt(ctx, WindowNo, Env.TAB_INFO, "M_Product_ID") == M_Product_ID.intValue()
&& Env.getContextAsInt(ctx, WindowNo, Env.TAB_INFO, "M_AttributeSetInstance_ID") != 0)
mTab.setValue("M_AttributeSetInstance_ID", new Integer(Env.getContextAsInt(ctx, WindowNo, Env.TAB_INFO, "M_AttributeSetInstance_ID")));
mTab.setValue("M_AttributeSetInstance_ID", Env.getContextAsInt(ctx, WindowNo, Env.TAB_INFO, "M_AttributeSetInstance_ID"));
else
mTab.setValue("M_AttributeSetInstance_ID", null);