Skip to content

ValueBuilder - excludeFromIndexes - Method name consistency  #1352

@sai-pullabhotla

Description

@sai-pullabhotla

The accessor methods for excludeFromIndexes in ValueBuilder are not consistent. Something to look into.

setExcludeFromIndexes(boolean) is good.
excludeFromIndexes(boolean) is Deprecated per the new conventions, so that is also good.

The Getter method is the one that is not consistent. Perhaps we need to add isExcludeFromIndexes() and deprecate excludeFromIndexes()?

public interface ValueBuilder<V, P extends Value<V>, B extends ValueBuilder<V, P, B>> {

  @Deprecated
  boolean getExcludeFromIndexes();

  boolean excludeFromIndexes();

  @Deprecated
  B excludeFromIndexes(boolean excludeFromIndexes);

  B setExcludeFromIndexes(boolean excludeFromIndexes);
//...
}

Metadata

Metadata

Assignees

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