Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0040599 | Openbravo ERP | 09. Financial management | public | 2019-04-11 15:13 | 2019-05-21 15:16 |
|
| Reporter | shuehner | |
| Assigned To | Triage Omni OMS | |
| 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.0PR19Q3 | |
| Merge Request Status | |
| Review Assigned To | Sandrahuguet |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0040599: Stop using Vector<Object> where not useful as its bad coding style |
| Description | Both:
- PaymentReportDao
- CashflowForecastReportActionHandler
use Vector<Object> with no good reason as they only put single type inside ever.
Apart of being bad-coding practice making code harder to read fixing it also works around bug in external code-checking tool.
https://github.com/typetools/checker-framework/issues/2422 [^]
Note for the fix: In PaymentReportDao the objectNames=="" was simplified instead of just fixing the type confusion. |
| Steps To Reproduce | - |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | 40599.diff (2,036) 2019-04-11 15:14 https://issues.openbravo.com/file_download.php?file_id=12856&type=bug |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2019-04-11 15:13 | shuehner | New Issue | |
| 2019-04-11 15:13 | shuehner | Assigned To | => Triage Finance |
| 2019-04-11 15:13 | shuehner | OBNetwork customer | => No |
| 2019-04-11 15:13 | shuehner | Modules | => Core |
| 2019-04-11 15:13 | shuehner | Triggers an Emergency Pack | => No |
| 2019-04-11 15:14 | shuehner | File Added: 40599.diff | |
| 2019-04-11 15:14 | shuehner | Note Added: 0111085 | |
| 2019-04-16 15:28 | hgbot | Checkin | |
| 2019-04-16 15:28 | hgbot | Note Added: 0111167 | |
| 2019-04-16 15:28 | hgbot | Status | new => resolved |
| 2019-04-16 15:28 | hgbot | Resolution | open => fixed |
| 2019-04-16 15:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8babe1f19082d00c4ca22a97dc226271cf2b7286 [^] |
| 2019-04-16 15:29 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
| 2019-04-16 15:29 | Sandrahuguet | Note Added: 0111168 | |
| 2019-04-16 15:29 | Sandrahuguet | Status | resolved => closed |
| 2019-04-16 15:29 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 |
| 2019-05-21 15:16 | hudsonbot | Checkin | |
| 2019-05-21 15:16 | hudsonbot | Note Added: 0111977 | |