Openbravo Issue Tracking System - Localization Pack: Spain  | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0041805 | Localization Pack: Spain | AEAT 340 | public | 2019-09-12 16:30 | 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 | No | ||||||||||||
| Regression introduced in release | |||||||||||||
| Summary | 0041805: Several warnings are shown in the console while compiling with JDK 11 | ||||||||||||
| Description | [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012.java:112: warning: [deprecation] ROUND_HALF_UP in BigDecimal has been deprecated [javac] .divide(new BigDecimal("100"), 2, BigDecimal.ROUND_HALF_UP), [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012.java:112: warning: [deprecation] divide(BigDecimal,int,int) in BigDecimal has been deprecated [javac] .divide(new BigDecimal("100"), 2, BigDecimal.ROUND_HALF_UP), [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012.java:261: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated [javac] BigDecimal.ROUND_HALF_EVEN); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012.java:260: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated [javac] BigDecimal taxableAmountN = taxableAmount.setScale(EURO.getStandardPrecision().intValue(), [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012.java:270: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated [javac] BigDecimal.ROUND_HALF_EVEN); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012.java:269: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated [javac] BigDecimal vatAmountN = vatAmount.setScale(EURO.getStandardPrecision().intValue(), [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012.java:282: warning: [deprecation] ROUND_HALF_EVEN in BigDecimal has been deprecated [javac] BigDecimal.ROUND_HALF_EVEN))); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012.java:281: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated [javac] : ecTaxAmount.setScale(EURO.getStandardPrecision().intValue(), [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/bean/PaymentInfoFor340.java:48: 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.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012NotAPRMDao.java:284: warning: [deprecation] ROUND_UP in BigDecimal has been deprecated [javac] multiply.multiply(dp.getAmount()).divide(totalGenerated, 10, BigDecimal.ROUND_UP)); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012NotAPRMDao.java:284: warning: [deprecation] divide(BigDecimal,int,int) in BigDecimal has been deprecated [javac] multiply.multiply(dp.getAmount()).divide(totalGenerated, 10, BigDecimal.ROUND_UP)); [javac] ^ [javac] /ob_spanish_pack/modules/org.openbravo.module.aeat340.es/src/org/openbravo/module/aeat340/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.aeat340.es/src/org/openbravo/module/aeat340/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.aeat340.es/src/org/openbravo/module/aeat340/es/util/AEAT340_Utility.java:81: 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.aeat340.es/src/org/openbravo/module/aeat340/es/util/AEAT340_Utility.java:81: warning: [deprecation] setScale(int,int) in BigDecimal has been deprecated [javac] final BigDecimal origAmt = amount.setScale(2, BigDecimal.ROUND_HALF_UP); [javac] ^ [javac] 15 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 16:30 | collazoandy4 | New Issue | |||||||||||
| 2019-09-12 16:30 | collazoandy4 | Assigned To | => collazoandy4 | ||||||||||
| 2019-09-12 16:30 | collazoandy4 | OBNetwork customer | => No | ||||||||||
| 2019-09-12 16:31 | collazoandy4 | Status | new => scheduled | ||||||||||
| 2019-09-13 12:13 | hgbot | Checkin | |||||||||||
| 2019-09-13 12:13 | hgbot | Note Added: 0114564 | |||||||||||
| 2019-09-13 12:13 | hgbot | Checkin | |||||||||||
| 2019-09-13 12:13 | hgbot | Note Added: 0114565 | |||||||||||
| 2019-09-13 12:13 | hgbot | Status | scheduled => resolved | ||||||||||
| 2019-09-13 12:13 | hgbot | Resolution | open => fixed | ||||||||||
| 2019-09-13 12:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat340.es/rev/901ebbc309d11516f35e6d48a267f5b8e244f587 [^] | ||||||||||
| 2019-09-13 12:13 | hgbot | Checkin | |||||||||||
| 2019-09-13 12:13 | hgbot | Note Added: 0114566 | |||||||||||
| 2019-09-13 12:26 | hgbot | Checkin | |||||||||||
| 2019-09-13 12:26 | hgbot | Note Added: 0114567 | |||||||||||
| 2019-09-13 12:26 | hgbot | Checkin | |||||||||||
| 2019-09-13 12:26 | hgbot | Note Added: 0114568 | |||||||||||
| 2019-09-13 12:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat340.es/rev/901ebbc309d11516f35e6d48a267f5b8e244f587 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat340.es/rev/55ddcd858cf0c78333a2df058fe1566eaec9d5c3 [^] | ||||||||||
| 2019-09-13 12:27 | hgbot | Checkin | |||||||||||
| 2019-09-13 12:27 | hgbot | Note Added: 0114569 | |||||||||||
| 2019-09-13 12:28 | Sandrahuguet | Review Assigned To | => Sandrahuguet | ||||||||||
| 2019-09-13 12:28 | Sandrahuguet | Note Added: 0114573 | |||||||||||
| 2019-09-13 12:28 | Sandrahuguet | Status | resolved => closed | ||||||||||
| 2019-09-13 12:38 | Sandrahuguet | Relationship added | related to 0038130 | ||||||||||
| Notes | |||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||