Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030053 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-05-30 20:06 | 2015-11-14 13:02 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR15Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | cb3442689716 | ||||
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 | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030053: Cleanup local unused variables warning | |||||||
Description | Eclipse has useful warning showing local (private) variables which are never used. As those are not useful they should be cleaned up. Note: 2 common special cases: a.) serialVersionUID constant normally used together with Seriablizable classes b.) Defined but unused log4j (or other) logger | |||||||
Steps To Reproduce | Check eclipse warning related to 'Unused local variables' | |||||||
Proposed Solution | Recheck and delete those unused local variables definitions. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0077932) hgbot (developer) 2015-06-01 13:09 |
Repository: erp/devel/pi Changeset: adda5d230a5e9857cff59ca2a92b3f2d7224bd70 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Sat May 30 20:07:50 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/adda5d230a5e9857cff59ca2a92b3f2d7224bd70 [^] Issue 30053. Part 1: Cleanup unnecessary serialVersionUID variables. Those definitions are not useful in this cases and the classes they are in are not serializable. So instead of special feature related to Serialization in this cases just a local unused variable. --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/BaseDataSourceService.java M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServiceProvider.java M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DefaultDataSourceService.java M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ModelDataSourceService.java M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ReadOnlyDataSourceService.java M modules/org.openbravo.service.json/src/org/openbravo/service/json/QueryBuilder.java M src/org/openbravo/base/provider/OBProviderConfigReader.java M src/org/openbravo/erpCommon/ad_forms/DocAmortizationTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocBankTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocCashTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocDPManagementTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocDoubtfulDebt.java M src/org/openbravo/erpCommon/ad_forms/DocDoubtfulDebtTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocFINBankStatement.java M src/org/openbravo/erpCommon/ad_forms/DocFINBankStatementTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransaction.java M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransactionTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java M src/org/openbravo/erpCommon/ad_forms/DocFINPaymentTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocFINReconciliation.java M src/org/openbravo/erpCommon/ad_forms/DocFINReconciliationTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocGLJournalTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocInOutTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocInventoryTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocInvoiceTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocLCCostTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocLandedCostTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocMatchInvTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocMovementTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocOrderTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocPaymentTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocProductionTemplate.java M src/org/openbravo/erpCommon/ad_forms/TranslationManager.java M src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java M src/org/openbravo/service/rest/DalWebService.java --- |
(0077933) hgbot (developer) 2015-06-01 13:09 |
Repository: erp/devel/pi Changeset: 4408556e4cb4795c32230a10783ec66d96a23fcc Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Sat May 30 20:29:02 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/4408556e4cb4795c32230a10783ec66d96a23fcc [^] Issue 30053. Part 2: Cleanup unnecessary slf4j / log4j loggers Remove those where they are private and never used in the file. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/MatchStatementOnLoadPreferenceActionHandler.java M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_FinaccTransactionEventListener.java M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/filterexpression/PaymentSelectorFilterExpression.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/TableTreeEventHandler.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/GetNameGeneralLedger.java M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/GetLabelActionHandler.java M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/SetContextInfoActionHandler.java M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/CalendarWidgetProvider.java M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransactionTemplate.java M src/org/openbravo/erpCommon/ad_forms/DocLine_FINPayment.java M src/org/openbravo/erpCommon/utility/LeftTabsBar.java M src/org/openbravo/erpCommon/utility/NavigationBar.java M src/org/openbravo/erpCommon/utility/ToolBar.java M src/org/openbravo/erpCommon/utility/reporting/printing/PrintInvoices.java M src/org/openbravo/erpCommon/utility/reporting/printing/PrintOrders.java M src/org/openbravo/erpCommon/utility/reporting/printing/PrintQuotations.java M src/org/openbravo/erpCommon/utility/reporting/printing/PrintShipments.java M src/org/openbravo/service/system/ApplicationDictionaryValidator.java --- |
(0077934) hgbot (developer) 2015-06-01 13:09 |
Repository: erp/devel/pi Changeset: cb3442689716bd0651bfa4e375ffbc4e0a0e625c Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Sat May 30 20:59:23 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/cb3442689716bd0651bfa4e375ffbc4e0a0e625c [^] Issue 30053. Part 3: Delete local unused variables (easy cases) This removes unused local variables / fields for all the easy cases. Where there is no user besides the variables declaration/init and where it is clear that just deleting it is the right thing to do (so no doubt it should be used instead of deleting it) --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/PaymentProposalPickEditLines.java M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/filterexpression/PaymentSelectorFilterExpression.java M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ReconciliationProcess.java M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DefaultDataSourceService.java M src-core/src/org/openbravo/xmlEngine/XmlVectorValue.java M src-test/src/org/openbravo/test/dal/DalPerformanceExampleTest.java M src-wad/src/org/openbravo/wad/Wad.java M src/org/openbravo/base/model/ModelProvider.java M src/org/openbravo/common/actionhandler/RMInOutPickEditLines.java M src/org/openbravo/common/actionhandler/RMShipmentPickEditLines.java M src/org/openbravo/common/datasource/StockReservationPickAndEditDataSource.java M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java M src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.java M src/org/openbravo/erpCommon/ad_callouts/SL_Asset_Product.java M src/org/openbravo/erpCommon/ad_callouts/SL_PC_Case_Product.java M src/org/openbravo/erpCommon/ad_process/DeleteClient.java M src/org/openbravo/erpCommon/ad_process/ResetAccountingProcess.java M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java M src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java M src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR_legacy.java M src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java M src/org/openbravo/event/InvoiceLineEventHandler.java M src/org/openbravo/event/MInOutLineEventHandler.java --- |
(0077941) shuehner (administrator) 2015-06-01 13:15 |
Mark as manually resolved as rest of still open warnings will be fixed in separate issue. |
(0077963) hudsonbot (developer) 2015-06-02 03:42 |
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/14de467bd788 [^] Maturity status: Test |
(0077964) hudsonbot (developer) 2015-06-02 03:42 |
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/14de467bd788 [^] Maturity status: Test |
(0077965) hudsonbot (developer) 2015-06-02 03:42 |
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/14de467bd788 [^] Maturity status: Test |
(0078056) alostale (manager) 2015-06-04 12:25 |
code reviewed |
Issue History | |||
Date Modified | Username | Field | Change |
2015-05-30 20:06 | shuehner | New Issue | |
2015-05-30 20:06 | shuehner | Assigned To | => platform |
2015-05-30 20:06 | shuehner | Modules | => Core |
2015-05-30 20:06 | shuehner | Triggers an Emergency Pack | => No |
2015-05-30 21:35 | shuehner | Assigned To | platform => shuehner |
2015-06-01 13:09 | hgbot | Checkin | |
2015-06-01 13:09 | hgbot | Note Added: 0077932 | |
2015-06-01 13:09 | hgbot | Checkin | |
2015-06-01 13:09 | hgbot | Note Added: 0077933 | |
2015-06-01 13:09 | hgbot | Checkin | |
2015-06-01 13:09 | hgbot | Note Added: 0077934 | |
2015-06-01 13:10 | shuehner | Review Assigned To | => alostale |
2015-06-01 13:15 | shuehner | Status | new => scheduled |
2015-06-01 13:15 | shuehner | Note Added: 0077941 | |
2015-06-01 13:15 | shuehner | Status | scheduled => resolved |
2015-06-01 13:15 | shuehner | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cb3442689716bd0651bfa4e375ffbc4e0a0e625c [^] |
2015-06-01 13:15 | shuehner | Resolution | open => fixed |
2015-06-02 03:42 | hudsonbot | Checkin | |
2015-06-02 03:42 | hudsonbot | Note Added: 0077963 | |
2015-06-02 03:42 | hudsonbot | Checkin | |
2015-06-02 03:42 | hudsonbot | Note Added: 0077964 | |
2015-06-02 03:42 | hudsonbot | Checkin | |
2015-06-02 03:42 | hudsonbot | Note Added: 0077965 | |
2015-06-04 12:24 | alostale | Relationship added | related to 0030055 |
2015-06-04 12:25 | alostale | Note Added: 0078056 | |
2015-06-04 12:25 | alostale | Status | resolved => closed |
2015-06-04 12:25 | alostale | Fixed in Version | => 3.0PR15Q3 |
2015-11-14 13:02 | shuehner | Relationship added | blocks 0031477 |
Copyright © 2000 - 2009 MantisBT Group |