IDEMPIERE-2539: Fix issue of set table print format stroke.

This commit is contained in:
Deepak Pansheriya 2015-03-25 15:46:23 +05:30
parent 8726f5eb77
commit 9d732d2b7c
1 changed files with 3 additions and 3 deletions

View File

@ -237,7 +237,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat
public BigDecimal 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);
return retValue;
} // getHdrStroke
@ -485,7 +485,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat
public BigDecimal getLineStroke()
{
BigDecimal retValue = super.getLineStroke();
if (retValue == null || Env.ZERO.compareTo(retValue) <= 0)
if (retValue == null || Env.ZERO.compareTo(retValue) >= 0)
retValue = Env.ONE;
return retValue;
} // getLineStroke
@ -497,7 +497,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat
public BigDecimal getVLineStroke()
{
BigDecimal retValue = super.getLineStroke();
if (retValue == null || Env.ZERO.compareTo(retValue) <= 0)
if (retValue == null || Env.ZERO.compareTo(retValue) >= 0)
retValue = Env.ONE;
return retValue;
} // getVLineStroke