Skip to content

Rename MdmSettings.myMdmMode setter such that it aligns with getter/setter naming conventions #7229

@ttntrifork

Description

@ttntrifork

The getter is getMode while the setter is setMdmMode.

public void setMdmMode(MdmModeEnum theMdmMode) {
myMdmMode = theMdmMode;
}
@Override
public MdmModeEnum getMode() {
return myMdmMode;
}

This breaks Kotlin 'synthetic property' interop with Java
https://kotlinlang.org/docs/java-interop.html#getters-and-setters

I will open a PR to rename the setter (as the getter is defined in the IMdmSettings interface)

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