Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033474Openbravo ERPA. Platformpublic2016-07-13 15:492016-07-22 08:56
alostale 
alostale 
normaltrivialalways
closedfixed 
5
 
3.0PR16Q4 
caristu
Core
No
0033474: parameter shouldn't be assigned warns
Installing a fresh Openbravo instance within eclipse shows 10 warns of type "The parameter shouldn't be assigned". All of them in WAD generated code.
-Install a fresh Openbravo instance
-Open it in eclipse
-Check Java Problems
  -> There are 10 instances of the same warn: "The parameter shouldn't be assigned"
No tags attached.
blocks feature request 0031477 new shuehner Tracking issue to reduce the huge number of eclipse warnings in pi 
Issue History
2016-07-13 15:49alostaleNew Issue
2016-07-13 15:49alostaleAssigned To => alostale
2016-07-13 15:49alostaleModules => Core
2016-07-13 15:49alostaleTriggers an Emergency Pack => No
2016-07-13 15:49alostaleRelationship addedblocks 0031477
2016-07-13 15:50alostaleReview Assigned To => caristu
2016-07-13 15:53hgbotCheckin
2016-07-13 15:53hgbotNote Added: 0088450
2016-07-13 15:53hgbotStatusnew => resolved
2016-07-13 15:53hgbotResolutionopen => fixed
2016-07-13 15:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d8e07ec68917474b3230b340b0a93a47d972478f [^]
2016-07-22 08:56caristuNote Added: 0088622
2016-07-22 08:56caristuStatusresolved => closed
2016-07-22 08:56caristuFixed in Version => 3.0PR16Q4
2016-07-22 11:31caristuNote Edited: 0088622bug_revision_view_page.php?bugnote_id=0088622#r12733

Notes
(0088450)
hgbot   
2016-07-13 15:53   
Repository: erp/devel/pi
Changeset: d8e07ec68917474b3230b340b0a93a47d972478f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 13 15:52:09 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d8e07ec68917474b3230b340b0a93a47d972478f [^]

fixed 33474: parameter shouldn't be assigned warns in WAD code

  Assign the paramter to a local variable so it can be reasigned without warn.

---
M src-wad/src/org/openbravo/wad/javasource.javaxml
---
(0088622)
caristu   
2016-07-22 08:56   
(edited on: 2016-07-22 11:31)
Verified in pi@ea24d6781214: "parameter shouldn't be assigned" warnings are not appearing anymore.