jurmous / etcd4j

Java / Netty client for etcd, the highly-available key value store for shared configuration and service discovery.
Apache License 2.0
267 stars 83 forks source link

EtcdKeyRequest hardening #48

Closed lburgazzoli closed 9 years ago

lburgazzoli commented 9 years ago

Remove setKey from EtcdKeyRequest and make if final so it cannot be modified once set i.e. etcd.get("/etcd4j_test/foo").setKey("/newPath")

jurmous commented 9 years ago

Good change! Thanks! (Was on vacation and could only now attend to it)