Openbravo Issue Tracking System - Openbravo ERP  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0045138 | Openbravo ERP | A. Platform | public | 2020-09-25 08:14 | 2022-02-01 08:07 | 
| Reporter | vmromanos | ||||
| Assigned To | Triage Platform Base | ||||
| Priority | normal | Severity | minor | Reproducibility | N/A | 
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| 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 | 0045138: Add support for @NonNull and @Nullable annotations | ||||
| Description | See https://help.eclipse.org/2020-09/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_null_annotations.htm [^] Ideally we should use the Mandatory flag in AD_Column to automatically set as @NonNull/@Nullable the return object in the getters() and the parameter in the setters() of any class generated from the AD_Table definition. Other manually generated classes could use both annotations too. The usage of these annotations could help to detect NullPointerException easily at compilation time.  | ||||
| Steps To Reproduce | Write a code that uses a method where null might be returned. Example: invoice.getDescription().concat("Expected NPE if description is null"); It would be nice that the eclipse compiler showing a warning to the developer.  | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2020-09-25 08:14 | vmromanos | New Issue | |||
| 2020-09-25 08:14 | vmromanos | Assigned To | => platform | ||
| 2020-09-25 08:14 | vmromanos | OBNetwork customer | => No | ||
| 2020-09-25 08:14 | vmromanos | Modules | => Core | ||
| 2020-09-25 08:14 | vmromanos | Triggers an Emergency Pack | => No | ||
| 2020-09-25 08:23 | vmromanos | Note Added: 0123364 | |||
| 2022-02-01 08:07 | alostale | Assigned To | platform => Triage Platform Base | ||
| Notes | |||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||