Skip to content

Initialize keyword to default value #21

@Hitogoroshi

Description

@Hitogoroshi

When the method: OIFitsChecker.isInspectRules() has been added in the code to catch failures, we can go into methods with null values.
To prevent this problem a number of checks (on values that can be null) have been created:

if (value == null) {
}

In this case on FitsImageLoader, we propose to initialize the values to a default value so that it can not be null anymore and ensure all mandatory keywords in memory have a not null value (getters should never return null)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions