Skip to content

[Feature] AbstractCommandExecutor.commandType difficult to understand #1831

@gabry-lab

Description

@gabry-lab

Background

In the AbstractCommandExecutor class ,commandType function is used to stitching the final command strings.

processBuilder.command("sudo", "-u", tenantCode, commandType(), commandFile);

That is difficult to understand, which even is ambiguous.

Why not rename commandType function a better name

Suggestion

rename 'commandType' to 'commandInterpreter'

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