Openbravo Issue Tracking System - Localization Pack: Spain | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0041804 | Localization Pack: Spain | Invoice Register Book | public | 2019-09-12 15:55 | 2019-09-13 12:28 | ||||||||
Reporter | collazoandy4 | ||||||||||||
Assigned To | collazoandy4 | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Merge Request Status | |||||||||||||
Regression date | |||||||||||||
Regression introduced by commit | |||||||||||||
Regression level | |||||||||||||
Review Assigned To | Sandrahuguet | ||||||||||||
Support ticket | |||||||||||||
OBNetwork customer | |||||||||||||
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 | - | ||||||||||||
Proposed Solution | |||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|