Skip to content

[Spam, do not employ her] Primitive Obsession - Magic Number 777 #8259

Description

@polipopi

Problema identificado

El valor 777 se utiliza directamente en el método setup(), constituyendo un número mágico sin significado explícito.

Refactor aplicado

Replace Magic Number with Symbolic Constant

private static final int DEFAULT_VALUE = 777;

Arrays.fill(array, DEFAULT_VALUE);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions