Skip to content

Avoid the usage of properties when there isn't a real opportunity #1431

Closed

Activity

  1. added
    KNet
    .NET
    on Mar 12, 2026
  2. masesdevelopers commented on Mar 12, 2026

    @masesdevelopers
    ContributorAuthor

    This incoherence is the consequence of the original generated code that was created forcibly using the conversion into properties when a method is like a getter/setter in JVM, even if the specific reverseAll does not have that pattern. The change is very simple since only this line is impacted

    public virtual KeyValueIterator<K, V, TJVMK, TJVMV> ReverseAll => new(Factory, Store.ReverseAll());

    However it can be an opportunity to review the global consistencies of method even on other classes.

    Currently

    public class ReadOnlyKeyValueStore<K, V, TJVMK, TJVMV> : ManagedStore<Org.Apache.Kafka.Streams.State.ReadOnlyKeyValueStore<TJVMK, TJVMV>>
    miss
    public Org.Apache.Kafka.Streams.State.KeyValueIterator PrefixScan(object arg0, Org.Apache.Kafka.Common.Serialization.Serializer arg1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETKNet

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions