Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043642
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2020-04-02 08:122020-05-26 17:53
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in VersionPR20Q3
StatusclosedFix in branchFixed in SCM revision00e2e7697d7a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043642: warnings compiling with Eclipse 2020-03

DescriptionCompiling Openbravo with Eclipse 2020-03 (ecj-4.15) using default Openbravo preferences produces some warnings.
Steps To ReproduceCompile with Eclipse 2020-03 (in this case base retail pack):
     [java] ----------
     [java] 1. WARNING in /home/alostale/ws/base/ob-pg/openbravo/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java 
(at line 140)
     [java] 	BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
     
[java] 	               ^^^^^^
     [java] Resource leak: 'reader' is never closed
     [java] ----------
     [java] ----------
     [java] 2. WARNING in /home/alostale/ws/base/ob-pg/openbravo/modules/org.openbravo.retail.posterminal/src/org/openbravo/retail/posterminal/master/ProductProperty.java 
(at line 18)
     [java] 	import org.openbravo.retail.posterminal.master.Product;
     [java] 	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     [java] The import org.openbravo.retail.posterminal.master.Product is never used
     [java] ----------
     [java] ----------
     [java] 3. WARNING in /home/alostale/ws/base/ob-pg/openbravo/modules/org.openbravo.retail.posterminal/src/org/openbravo/retail/posterminal/process/HasDeliveryServices.java 
(at line 19)
     [java] 	import org.openbravo.retail.posterminal.process.HasServices;
     [java] 	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     [java] The import org.openbravo.retail.posterminal.process.HasServices is never used
     [java] ----------
     [java] ----------
     [java] 4. WARNING in /home/alostale/ws/base/ob-pg/openbravo/src-test/src/org/openbravo/test/webservice/BaseWSTest.java 
(at line 257)
     [java] 	BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
     
[java] 	               ^^^^^^
     [java] Resource leak: 'reader' is never closed
     [java] ----------
     [java] ----------
     [java] 5. WARNING in /home/alostale/ws/base/ob-pg/openbravo/src-test/src/org/openbravo/test/webservice/JSONWebServices.java 
(at line 134)
     [java] 	BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
     
[java] 	               ^^^^^^
     [java] Resource leak: 'reader' is never closed
     [java] ----------
     [java] 5 problems (5 warnings)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0031477 newshuehner Tracking issue to reduce the huge number of eclipse warnings in pi 
depends on backport 00441983.0PR20Q1.2 closedcberner warnings compiling with Eclipse 2020-03 
depends on backport 00441993.0PR20Q2 closedcberner warnings compiling with Eclipse 2020-03 

-  Notes
(0119115)
hgbot (developer)
2020-04-09 12:43

Repository: erp/devel/pi
Changeset: 9183a11dc6232d73444eec61d31782d9545ff5fa
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 03 13:43:26 2020 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9183a11dc6232d73444eec61d31782d9545ff5fa [^]

fixed ISSUE-43642: fixes some eclipse warns

---
M src-test/src/org/openbravo/test/webservice/BaseWSTest.java
M src-test/src/org/openbravo/test/webservice/JSONWebServices.java
---
(0119117)
hgbot (developer)
2020-04-09 12:54

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d1ff9c46d55949f1cb24fa3a3c681b06ce77d5ba
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Apr 09 12:53:33 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d1ff9c46d55949f1cb24fa3a3c681b06ce77d5ba [^]

fixed ISSUE-43642: fixes some eclipse warns

---
M src/org/openbravo/retail/posterminal/master/ProductProperty.java
M src/org/openbravo/retail/posterminal/process/HasDeliveryServices.java
---
(0119122)
hgbot (developer)
2020-04-13 08:50

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 45b9f63744d14062789a9cafec313ea2daa0c754
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Apr 13 08:50:07 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/45b9f63744d14062789a9cafec313ea2daa0c754 [^]

fixed ISSUE-43642: fixes some eclipse warns

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java
---
(0119231)
hgbot (developer)
2020-04-17 10:17

Repository: erp/pmods/org.openbravo.service.integration.amazon.s3
Changeset: 82f1fdaa22628f04d302b9ba3e7d5eda89bc67e8
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Apr 17 10:17:36 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.amazon.s3/rev/82f1fdaa22628f04d302b9ba3e7d5eda89bc67e8 [^]

fixed ISSUE-43642: fixes some eclipse warns

---
M src/org/openbravo/service/integration/amazon/s3/AmazonS3Client.java
---
(0119232)
hgbot (developer)
2020-04-17 10:19

Repository: erp/pmods/org.openbravo.service.integration.magento.core
Changeset: 00e2e7697d7aa77e9f6861ce54b2407b8168ca89
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Apr 17 10:19:33 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.magento.core/rev/00e2e7697d7aa77e9f6861ce54b2407b8168ca89 [^]

fixed ISSUE-43642: fixes some eclipse warns

---
M src-test/org/openbravo/service/integration/magento/core/export/MagentoEndpointBuilderTest.java
---
(0119233)
caristu (developer)
2020-04-17 10:31

Reviewed

MR: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/56 [^]

- Issue History
Date Modified Username Field Change
2020-04-02 08:12 alostale New Issue
2020-04-02 08:12 alostale Assigned To => platform
2020-04-02 08:12 alostale Modules => Core
2020-04-02 08:12 alostale Triggers an Emergency Pack => No
2020-04-02 08:13 alostale Steps to Reproduce Updated View Revisions
2020-04-02 08:13 alostale Relationship added related to 0031477
2020-04-09 12:43 hgbot Checkin
2020-04-09 12:43 hgbot Note Added: 0119115
2020-04-09 12:43 hgbot Status new => resolved
2020-04-09 12:43 hgbot Resolution open => fixed
2020-04-09 12:43 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9183a11dc6232d73444eec61d31782d9545ff5fa [^]
2020-04-09 12:53 alostale Assigned To platform => alostale
2020-04-09 12:54 hgbot Checkin
2020-04-09 12:54 hgbot Note Added: 0119117
2020-04-09 12:54 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/9183a11dc6232d73444eec61d31782d9545ff5fa [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d1ff9c46d55949f1cb24fa3a3c681b06ce77d5ba [^]
2020-04-09 12:55 alostale Review Assigned To => caristu
2020-04-13 08:50 hgbot Checkin
2020-04-13 08:50 hgbot Note Added: 0119122
2020-04-13 08:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d1ff9c46d55949f1cb24fa3a3c681b06ce77d5ba [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/45b9f63744d14062789a9cafec313ea2daa0c754 [^]
2020-04-17 10:17 hgbot Checkin
2020-04-17 10:17 hgbot Note Added: 0119231
2020-04-17 10:17 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/45b9f63744d14062789a9cafec313ea2daa0c754 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.amazon.s3/rev/82f1fdaa22628f04d302b9ba3e7d5eda89bc67e8 [^]
2020-04-17 10:19 hgbot Checkin
2020-04-17 10:19 hgbot Note Added: 0119232
2020-04-17 10:19 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.amazon.s3/rev/82f1fdaa22628f04d302b9ba3e7d5eda89bc67e8 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.magento.core/rev/00e2e7697d7aa77e9f6861ce54b2407b8168ca89 [^]
2020-04-17 10:31 caristu Note Added: 0119233
2020-04-17 10:31 caristu Status resolved => closed
2020-04-17 10:31 caristu Fixed in Version => 3.0PR20Q3
2020-05-26 17:51 cberner Status closed => new
2020-05-26 17:51 cberner Resolution fixed => open
2020-05-26 17:51 cberner Fixed in Version 3.0PR20Q3 =>
2020-05-26 17:52 cberner Status new => scheduled
2020-05-26 17:52 cberner Assigned To alostale => cberner
2020-05-26 17:52 cberner Assigned To cberner => alostale
2020-05-26 17:53 cberner Status scheduled => resolved
2020-05-26 17:53 cberner Fixed in Version => 3.0PR20Q3
2020-05-26 17:53 cberner Resolution open => fixed
2020-05-26 17:53 cberner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker