Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0041804Localization Pack: SpainInvoice Register Bookpublic2019-09-12 15:552019-09-13 12:28
collazoandy4 
collazoandy4 
normalminorhave not tried
closedfixed 
5
 
 
Sandrahuguet
0041804: Several warnings are shown in the console while compiling with JDK 11
[javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:227: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:227: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:232: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:232: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:365: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:365: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:367: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:367: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:370: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:369: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] adaptInvoiceAmount(invoice, invoice.getGrandTotalAmount(), multiplyBy).setScale(
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:397: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:396: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] adaptInvoiceAmount(invoice, line.getTaxAmount(), multiplyBy).setScale(
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:589: warning: [deprecation] Long(long) in Long has been deprecated
    [javac] startNo = startNo + new Long(1);
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:598: warning: [deprecation] Long(long) in Long has been deprecated
    [javac] startNo = startNo + new Long(1);
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:633: warning: [deprecation] Long(long) in Long has been deprecated
    [javac] startNo = dao.getLastRegisterNumber(invBookPrevious) + new Long(1);
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:733: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:733: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:735: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:735: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:743: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:743: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:748: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] /home/anandy/Openbravo/Repositories/ob_spanish_pack/modules/org.openbravo.module.invoicesregisterbook/src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java:748: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated
    [javac] .setScale(EURO.getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_EVEN));
    [javac] ^
    [javac] 23 warnings
-
No tags attached.
related to feature request 0038130 closed caristu Openbravo ERP support JDK 11 
Issue History
2019-09-12 15:55collazoandy4New Issue
2019-09-12 15:55collazoandy4Assigned To => collazoandy4
2019-09-12 15:55collazoandy4Statusnew => scheduled
2019-09-13 10:40hgbotCheckin
2019-09-13 10:40hgbotNote Added: 0114560
2019-09-13 10:40hgbotCheckin
2019-09-13 10:40hgbotNote Added: 0114561
2019-09-13 10:40hgbotStatusscheduled => resolved
2019-09-13 10:40hgbotResolutionopen => fixed
2019-09-13 10:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/1ea157636963991351dd2548a7fd92e3ca126f66 [^]
2019-09-13 11:01hgbotCheckin
2019-09-13 11:01hgbotNote Added: 0114562
2019-09-13 11:01hgbotCheckin
2019-09-13 11:01hgbotNote Added: 0114563
2019-09-13 11:01hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/1ea157636963991351dd2548a7fd92e3ca126f66 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/b133b473271f4d89d5edeec035599c5a8fc99933 [^]
2019-09-13 12:28SandrahuguetReview Assigned To => Sandrahuguet
2019-09-13 12:28SandrahuguetNote Added: 0114572
2019-09-13 12:28SandrahuguetStatusresolved => closed
2019-09-13 12:38SandrahuguetRelationship addedrelated to 0038130

Notes
(0114560)
hgbot   
2019-09-13 10:40   
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: e9c4fffb20975f093074d9db4298367efe0b83dc
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Sep 12 10:17:07 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/e9c4fffb20975f093074d9db4298367efe0b83dc [^]

Related to issue 41804: Set new eclipse build-int format

---
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
---
(0114561)
hgbot   
2019-09-13 10:40   
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: 1ea157636963991351dd2548a7fd92e3ca126f66
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Sep 12 10:22:37 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/1ea157636963991351dd2548a7fd92e3ca126f66 [^]

Fixes issue 41804:Several warnings are shown in the console while compiling with
JDK 11

Removed depreceated BigDecimal rounding constants
Replaced new Long(1) with 1L

---
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
---
(0114562)
hgbot   
2019-09-13 11:01   
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: 47e0039048d38581b28bb20198271e87ce125c24
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Wed Sep 11 17:27:17 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/47e0039048d38581b28bb20198271e87ce125c24 [^]

Related to issue 41804: Set new eclipse build-int format

---
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
---
(0114563)
hgbot   
2019-09-13 11:01   
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: b133b473271f4d89d5edeec035599c5a8fc99933
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Sep 12 10:11:15 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/b133b473271f4d89d5edeec035599c5a8fc99933 [^]

Fixes issue 41804:Several warnings are shown in the console while compiling with
JDK 11

Removed depreceated BigDecimal rounding constants
Replaced new Long(1) with 1L

---
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
---
(0114572)
Sandrahuguet   
2019-09-13 12:28   
code review + testing ok