Openbravo Issue Tracking System - Localization Pack: Spain | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0041802 | Localization Pack: Spain | AEAT 190 | public | 2019-09-12 15:42 | 2019-09-13 12:27 | ||||||||
| 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 | No | ||||||||||||
| 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 | - | ||||||||||||
| Proposed Solution | |||||||||||||
| Additional Information | |||||||||||||
| Tags | No tags attached. | ||||||||||||
| Relationships |
| ||||||||||||
| Attached Files | |||||||||||||
| 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:42 | collazoandy4 | OBNetwork customer | => No | ||||||||||
| 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 | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||