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() 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