Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041804 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Localization Pack: Spain] Invoice Register Book | minor | have not tried | 2019-09-12 15:55 | 2019-09-13 12:28 | |||
Reporter | collazoandy4 | View Status | public | |||||
Assigned To | collazoandy4 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | b133b473271f | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | Sandrahuguet | |||||||
Regression introduced in release | ||||||||
Summary | 0041804: Several warnings are shown in the console while compiling with JDK 11 | |||||||
Description | [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 | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0114560) hgbot (developer) 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 (developer) 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 (developer) 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 (developer) 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 (developer) 2019-09-13 12:28 |
code review + testing ok |
Issue History | |||
Date Modified | Username | Field | Change |
2019-09-12 15:55 | collazoandy4 | New Issue | |
2019-09-12 15:55 | collazoandy4 | Assigned To | => collazoandy4 |
2019-09-12 15:55 | collazoandy4 | Status | new => scheduled |
2019-09-13 10:40 | hgbot | Checkin | |
2019-09-13 10:40 | hgbot | Note Added: 0114560 | |
2019-09-13 10:40 | hgbot | Checkin | |
2019-09-13 10:40 | hgbot | Note Added: 0114561 | |
2019-09-13 10:40 | hgbot | Status | scheduled => resolved |
2019-09-13 10:40 | hgbot | Resolution | open => fixed |
2019-09-13 10:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/1ea157636963991351dd2548a7fd92e3ca126f66 [^] |
2019-09-13 11:01 | hgbot | Checkin | |
2019-09-13 11:01 | hgbot | Note Added: 0114562 | |
2019-09-13 11:01 | hgbot | Checkin | |
2019-09-13 11:01 | hgbot | Note Added: 0114563 | |
2019-09-13 11:01 | hgbot | Fixed in SCM revision | http://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:28 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-09-13 12:28 | Sandrahuguet | Note Added: 0114572 | |
2019-09-13 12:28 | Sandrahuguet | Status | resolved => closed |
2019-09-13 12:38 | Sandrahuguet | Relationship added | related to 0038130 |
Copyright © 2000 - 2009 MantisBT Group |