| Summary: | task.getPriorityNumber() doesn't return null when there is no priority | ||
|---|---|---|---|
| Product: | CS3343_SEP_group8 | Reporter: | Meryem <malamikas2-c> |
| Component: | Model | Assignee: | Meryem <malamikas2-c> |
| Status: | CONFIRMED --- | ||
| Severity: | major | ||
| Priority: | --- | ||
| Version: | version0 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Attachments: | task.getPriorityNumber() should be null | ||
Created attachment 123 [details] task.getPriorityNumber() should be null Problem location : Task.java Problem found : TestTask.java Creating a task without a priority and then calling the method getPriority() provoke an error Solution : should check if the priority is null before trying to return it