Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036434 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2017-07-06 13:26 | 2017-09-21 16:49 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c557445d5d66 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | inigosanchez | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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[] ---------- | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0097917) hgbot (developer) 2017-07-06 14:10 |
Repository: erp/devel/pi Changeset: c557445d5d662bd561d9f9658d771a978c0e43cc Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Jul 06 14:07:15 2017 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/c557445d5d662bd561d9f9658d771a978c0e43cc [^] fixed bug 36434: unlikely argument type warnings --- M src-core/src/org/openbravo/base/VariablesBase.java M src/org/openbravo/dal/xml/EntityResolver.java M src/org/openbravo/service/web/UserContextCache.java --- |
(0098035) hgbot (developer) 2017-07-12 09:21 |
Repository: erp/mods/org.openbravo.utility.hqlquerytool Changeset: 55cfdb938325c4a45e58431e89f405c507f6176d Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Jul 12 09:21:26 2017 +0200 URL: http://code.openbravo.com/erp/mods/org.openbravo.utility.hqlquerytool/rev/55cfdb938325c4a45e58431e89f405c507f6176d [^] related to bug 36434: unlikely argument type warnings --- M src/org/openbravo/utility/hqlquerytool/HQLQueryTool.java --- |
(0098400) inigosanchez (developer) 2017-08-04 14:49 |
reviewed in pi@e6b6a636d1e4 |
(0099243) hudsonbot (developer) 2017-09-21 16:49 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9750b78d3e5c [^] Maturity status: Test |
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |