[JBoss JIRA] (ISPN-6066) HotRodServerConfigurationBuilder.build() mutates the builder
by Radim Vansa (JIRA)
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)
9 years, 2 months