IDEMPIERE-2539: Fix issue of set table print format stroke.
This commit is contained in:
parent
8726f5eb77
commit
9d732d2b7c
|
@ -237,7 +237,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat
|
||||||
public BigDecimal getHdrStroke()
|
public BigDecimal getHdrStroke()
|
||||||
{
|
{
|
||||||
BigDecimal retValue = super.getHdrStroke();
|
BigDecimal retValue = super.getHdrStroke();
|
||||||
if (retValue == null || Env.ZERO.compareTo(retValue) <= 0)
|
if (retValue == null || Env.ZERO.compareTo(retValue) >= 0)
|
||||||
retValue = BigDecimal.valueOf(2.0);
|
retValue = BigDecimal.valueOf(2.0);
|
||||||
return retValue;
|
return retValue;
|
||||||
} // getHdrStroke
|
} // getHdrStroke
|
||||||
|
@ -485,7 +485,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat
|
||||||
public BigDecimal getLineStroke()
|
public BigDecimal getLineStroke()
|
||||||
{
|
{
|
||||||
BigDecimal retValue = super.getLineStroke();
|
BigDecimal retValue = super.getLineStroke();
|
||||||
if (retValue == null || Env.ZERO.compareTo(retValue) <= 0)
|
if (retValue == null || Env.ZERO.compareTo(retValue) >= 0)
|
||||||
retValue = Env.ONE;
|
retValue = Env.ONE;
|
||||||
return retValue;
|
return retValue;
|
||||||
} // getLineStroke
|
} // getLineStroke
|
||||||
|
@ -497,7 +497,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat
|
||||||
public BigDecimal getVLineStroke()
|
public BigDecimal getVLineStroke()
|
||||||
{
|
{
|
||||||
BigDecimal retValue = super.getLineStroke();
|
BigDecimal retValue = super.getLineStroke();
|
||||||
if (retValue == null || Env.ZERO.compareTo(retValue) <= 0)
|
if (retValue == null || Env.ZERO.compareTo(retValue) >= 0)
|
||||||
retValue = Env.ONE;
|
retValue = Env.ONE;
|
||||||
return retValue;
|
return retValue;
|
||||||
} // getVLineStroke
|
} // getVLineStroke
|
||||||
|
|
Loading…
Reference in New Issue