[infinispan-issues] [JBoss JIRA] (ISPN-6066) HotRodServerConfigurationBuilder.build() mutates the builder
Tristan Tarrant (JIRA)
issues at jboss.org
Thu Jan 14 03:52:00 EST 2016
[ https://issues.jboss.org/browse/ISPN-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-6066:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.2.0.Alpha1
8.2.0.Final
Resolution: Done
> HotRodServerConfigurationBuilder.build() mutates the builder
> ------------------------------------------------------------
>
> Key: ISPN-6066
> URL: https://issues.jboss.org/browse/ISPN-6066
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.1.0.Final
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Fix For: 8.2.0.Alpha1, 8.2.0.Final
>
>
> 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