Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041802 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Localization Pack: Spain] AEAT 190 | minor | have not tried | 2019-09-12 15:42 | 2019-09-13 12:27 | |||
Reporter | collazoandy4 | View Status | public | |||||
Assigned To | collazoandy4 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | c03426d497a0 | ||||
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 | 0041802: Several warnings are shown in the console while compiling with JDK 11 | |||||||
Description | [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/bean/PaymentInfoFor190.java:40: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] setYear((new Integer(cal.get(Calendar.YEAR)).toString())); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/comparator/OrderByYearAndBP.java:18: warning: [deprecation] Integer(String) in Integer has been deprecated [javac] final Integer year1 = new Integer(o1.getYear()); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/comparator/OrderByYearAndBP.java:19: warning: [deprecation] Integer(String) in Integer has been deprecated [javac] final Integer year2 = new Integer(o2.getYear()); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/report/AEAT190ReportDao.java:408: warning: [deprecation] ROUND_HALF_UP in BigDecimal has been deprecated [javac] .divide(invoice.getGrandTotalAmount(), 4, BigDecimal.ROUND_HALF_UP).abs(); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/report/AEAT190ReportDao.java:408: warning: [deprecation] divide(BigDecimal,int,int) in BigDecimal has been deprecated [javac] .divide(invoice.getGrandTotalAmount(), 4, BigDecimal.ROUND_HALF_UP).abs(); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/report/AEAT190ReportNotAPRMDao.java:313: warning: [deprecation] ROUND_UP in BigDecimal has been deprecated [javac] .divide(totalGenerated, 10, BigDecimal.ROUND_UP)); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/report/AEAT190ReportNotAPRMDao.java:313: warning: [deprecation] divide(BigDecimal,int,int) in BigDecimal has been deprecated [javac] .divide(totalGenerated, 10, BigDecimal.ROUND_UP)); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/util/AEAT190_Utility.java:127: warning: [deprecation] ROUND_HALF_UP in BigDecimal has been deprecated [javac] final BigDecimal origAmt = amount.setScale(2, BigDecimal.ROUND_HALF_UP); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat190.es/src/org/openbravo/module/aeat190/es/util/AEAT190_Utility.java:127: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated [javac] final BigDecimal origAmt = amount.setScale(2, BigDecimal.ROUND_HALF_UP); [javac] ^ [javac] 9 warnings | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0114553) hgbot (developer) 2019-09-13 09:23 |
Repository: erp/pmods/org.openbravo.module.aeat190.es Changeset: 2130262a8920f898f3913740ab105df94c3660a6 Author: Armaignac <collazoandy4 <at> gmail.com> Date: Thu Sep 12 11:07:33 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat190.es/rev/2130262a8920f898f3913740ab105df94c3660a6 [^] Related to issue 41802: Set new eclipse build-int format --- M src/org/openbravo/module/aeat190/es/report/AEAT190ReportDao.java M src/org/openbravo/module/aeat190/es/report/AEAT190ReportNotAPRMDao.java M src/org/openbravo/module/aeat190/es/util/AEAT190_Utility.java --- |
(0114554) hgbot (developer) 2019-09-13 09:23 |
Repository: erp/pmods/org.openbravo.module.aeat190.es Changeset: c03426d497a0ab6033ab15029f9e89c4a8fff61e Author: Armaignac <collazoandy4 <at> gmail.com> Date: Thu Sep 12 11:08:58 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat190.es/rev/c03426d497a0ab6033ab15029f9e89c4a8fff61e [^] Fixes issue 41802:Several warnings are shown in the console while compiling with JDK 11 Removed depreceated BigDecimal rounding constants Replaced new Integer by Integer.parseInt --- M src/org/openbravo/module/aeat190/es/bean/PaymentInfoFor190.java M src/org/openbravo/module/aeat190/es/comparator/OrderByYearAndBP.java M src/org/openbravo/module/aeat190/es/report/AEAT190ReportNotAPRMDao.java M src/org/openbravo/module/aeat190/es/util/AEAT190_Utility.java --- |
(0114555) hgbot (developer) 2019-09-13 09:24 |
Repository: erp/pmods/org.openbravo.module.aeat190.es Changeset: 5a63e1feade4b6477c87dae7a62581df005d6cf1 Author: Sandra Huguet <sandra.huguet <at> openbravo.com> Date: Fri Sep 13 09:14:48 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat190.es/rev/5a63e1feade4b6477c87dae7a62581df005d6cf1 [^] Related to issue 41802 fix javadoc warnings --- M src/org/openbravo/module/aeat190/es/report/AEAT190ReportNotAPRMDao.java --- |
(0114570) Sandrahuguet (developer) 2019-09-13 12:27 |
code review + testing ok |
Issue History | |||
Date Modified | Username | Field | Change |
2019-09-12 15:42 | collazoandy4 | New Issue | |
2019-09-12 15:42 | collazoandy4 | Assigned To | => collazoandy4 |
2019-09-12 15:43 | collazoandy4 | Status | new => scheduled |
2019-09-13 09:23 | hgbot | Checkin | |
2019-09-13 09:23 | hgbot | Note Added: 0114553 | |
2019-09-13 09:23 | hgbot | Checkin | |
2019-09-13 09:23 | hgbot | Note Added: 0114554 | |
2019-09-13 09:23 | hgbot | Status | scheduled => resolved |
2019-09-13 09:23 | hgbot | Resolution | open => fixed |
2019-09-13 09:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat190.es/rev/c03426d497a0ab6033ab15029f9e89c4a8fff61e [^] |
2019-09-13 09:24 | hgbot | Checkin | |
2019-09-13 09:24 | hgbot | Note Added: 0114555 | |
2019-09-13 12:27 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-09-13 12:27 | Sandrahuguet | Note Added: 0114570 | |
2019-09-13 12:27 | Sandrahuguet | Status | resolved => closed |
2019-09-13 12:38 | Sandrahuguet | Relationship added | related to 0038130 |
Copyright © 2000 - 2009 MantisBT Group |