[infinispan-issues] [JBoss JIRA] (ISPN-6066) HotRodServerConfigurationBuilder.build() mutates the builder
Radim Vansa (JIRA)
issues at jboss.org
Wed Jan 13 05:44:00 EST 2016
[ https://issues.jboss.org/browse/ISPN-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radim Vansa updated ISPN-6066:
------------------------------
Component/s: Server
> 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
>
> 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