Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6066

HotRodServerConfigurationBuilder.build() mutates the builder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.2.0.Beta1, 8.2.0.Final
    • 8.1.0.Final
    • Server
    • None

      When HotRodServerConfigurationBuilder.build() calls validate(), and proxyHost/proxyPort is not set, it sets its value. That causes problems if you call build() once, (throw away the configuration) and reset host/port to different value - proxyHost/proxyPort is already set, although the user thinks that it's at its defaults (the same as host/port).

              rvansa1@redhat.com Radim Vansa (Inactive)
              rvansa1@redhat.com Radim Vansa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: