Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036434 | Openbravo ERP | A. Platform | public | 2017-07-06 13:26 | 2017-09-21 16:49 | |||||||
Reporter | alostale | |||||||||||
Assigned To | alostale | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR17Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | inigosanchez | |||||||||||
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 | 0036434: unlikely argument type warnings | |||||||||||
Description | Compiling with ecj >= 3.13 (ie. using Eclipse Oxygen) some "unlikely argument" warnings can be found in code. | |||||||||||
Steps To Reproduce | 1. Open openbravo with eclipse oxygen 2. Import standard openbravo preferences 3. Compile -> check warns: # Eclipse Compiler for Java(TM) v20170516-1929, 3.13.0, Copyright IBM Corp 2000, 2015. All rights reserved. ---------- 1. INFO in /home/alostale/ws/projects/license/openbravo/src/org/openbravo/dal/xml/EntityResolver.java (at line 363) if (refLoaded.getClientId().equals('0') && refLoaded.getOrgId().equals("0")) { ^^^ Unlikely argument type for equals(): char seems to be unrelated to String ---------- ---------- 9. WARNING in /home/alostale/ws/projects/license/openbravo/src/org/openbravo/service/web/UserContextCache.java (at line 111) cache.remove(ce); ^^ Unlikely argument type UserContextCache.CacheEntry for remove(Object) on a Map<String,UserContextCache.CacheEntry> ---------- 11. INFO in /home/alostale/ws/projects/license/openbravo/src-core/src/org/openbravo/base/VariablesBase.java (at line 1046) if (auxStr == null || auxStr.length == 0 || auxStr.equals("")) { ^^ Unlikely argument type for equals(): String seems to be unrelated to String[] ---------- | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-07-06 13:26 | alostale | New Issue | ||||||||||
2017-07-06 13:26 | alostale | Assigned To | => platform | |||||||||
2017-07-06 13:26 | alostale | Modules | => Core | |||||||||
2017-07-06 13:26 | alostale | Triggers an Emergency Pack | => No | |||||||||
2017-07-06 13:28 | alostale | Issue cloned | 0036435 | |||||||||
2017-07-06 13:28 | alostale | Relationship added | related to 0036435 | |||||||||
2017-07-06 13:42 | alostale | Description Updated | bug_revision_view_page.php?rev_id=15473#r15473 | |||||||||
2017-07-06 14:07 | alostale | Assigned To | platform => alostale | |||||||||
2017-07-06 14:07 | alostale | Review Assigned To | => inigosanchez | |||||||||
2017-07-06 14:10 | hgbot | Checkin | ||||||||||
2017-07-06 14:10 | hgbot | Note Added: 0097917 | ||||||||||
2017-07-06 14:10 | hgbot | Status | new => resolved | |||||||||
2017-07-06 14:10 | hgbot | Resolution | open => fixed | |||||||||
2017-07-06 14:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c557445d5d662bd561d9f9658d771a978c0e43cc [^] | |||||||||
2017-07-12 09:21 | hgbot | Checkin | ||||||||||
2017-07-12 09:21 | hgbot | Note Added: 0098035 | ||||||||||
2017-08-04 14:49 | inigosanchez | Note Added: 0098400 | ||||||||||
2017-08-04 14:49 | inigosanchez | Status | resolved => closed | |||||||||
2017-08-04 14:49 | inigosanchez | Fixed in Version | => 3.0PR17Q4 | |||||||||
2017-09-21 16:49 | hudsonbot | Checkin | ||||||||||
2017-09-21 16:49 | hudsonbot | Note Added: 0099243 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|