[infinispan-issues] [JBoss JIRA] (ISPN-6066) HotRodServerConfigurationBuilder.build() mutates the builder

Radim Vansa (JIRA) issues at jboss.org
Wed Jan 13 04:31:00 EST 2016


Radim Vansa created ISPN-6066:
---------------------------------

             Summary: HotRodServerConfigurationBuilder.build() mutates the builder
                 Key: ISPN-6066
                 URL: https://issues.jboss.org/browse/ISPN-6066
             Project: Infinispan
          Issue Type: Bug
            Reporter: Radim Vansa
            Assignee: Radim Vansa


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).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list