Skip to content

AdjustConfig compares objects not values for environment #102

@bertybrace

Description

@bertybrace

Hello,

checkEnvironment() in AdjustConfig checks for a proper environment by comparing the String objects. We think comparing values should be in place.

Instead of:
environment == AdjustConfig.ENVIRONMENT_SANDBOX

use:
environment.equals(AdjustConfig.ENVIRONMENT_SANDBOX)

Please excuse me if I'm missing an important point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions