Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0044198 | Openbravo ERP | A. Platform | public | 2020-04-02 08:12 | 2020-05-27 15:22 |
|
Reporter | alostale | |
Assigned To | cberner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR20Q1.2 | Fixed in Version | 3.0PR20Q1.2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0044198: warnings compiling with Eclipse 2020-03 |
Description | Compiling Openbravo with Eclipse 2020-03 (ecj-4.15) using default Openbravo preferences produces some warnings. |
Steps To Reproduce | Compile 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)
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0043642 | | closed | alostale | warnings compiling with Eclipse 2020-03 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-05-26 17:52 | cberner | Type | defect => backport |
2020-05-26 17:52 | cberner | Target Version | => 3.0PR20Q2.1 |
2020-05-26 17:53 | cberner | Assigned To | alostale => cberner |
2020-05-26 18:56 | hgbot | Checkin | |
2020-05-26 18:56 | hgbot | Note Added: 0120302 | |
2020-05-26 18:56 | hgbot | Status | scheduled => resolved |
2020-05-26 18:56 | hgbot | Resolution | open => fixed |
2020-05-26 18:56 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.magento.core/rev/00e2e7697d7aa77e9f6861ce54b2407b8168ca89 [^] => http://code.openbravo.com/erp/backports/3.0PR20Q1.2/rev/fe938830224a08925717b6f71dc86a5e4c082e15 [^] |
2020-05-26 18:56 | hgbot | Checkin | |
2020-05-26 18:56 | hgbot | Note Added: 0120303 | |
2020-05-26 18:57 | hgbot | Checkin | |
2020-05-26 18:57 | hgbot | Note Added: 0120304 | |
2020-05-26 18:59 | cberner | Target Version | 3.0PR20Q2.1 => 3.0PR20Q1.2 |
2020-05-27 08:44 | ivancaceres | Issue Monitored: ivancaceres | |
2020-05-27 09:51 | alostale | Review Assigned To | caristu => alostale |
2020-05-27 09:51 | alostale | Note Added: 0120334 | |
2020-05-27 09:51 | alostale | Status | resolved => closed |
2020-05-27 09:51 | alostale | Fixed in Version | => 3.0PR20Q1.2 |
2020-05-27 15:22 | hgbot | Checkin | |
2020-05-27 15:22 | hgbot | Note Added: 0120363 | |
Notes |
|
(0120302)
|
hgbot
|
2020-05-26 18:56
|
|
|
|
(0120303)
|
hgbot
|
2020-05-26 18:56
|
|
|
|
(0120304)
|
hgbot
|
2020-05-26 18:57
|
|
|
|
|
|
|
(0120363)
|
hgbot
|
2020-05-27 15:22
|
|
|