facebookarchive / swift

An annotation-based Java library for creating Thrift serializable types and services.
Apache License 2.0
900 stars 297 forks source link

ThriftClientConfig copy constructor #296

Closed ryandm closed 8 years ago

ryandm commented 8 years ago

Since ThriftClientConfig is mutable, it's convenient to have a copy constructor for easily making a defensive copy.

dain commented 8 years ago

No code should hold on to Airlift config objects, so I'm not sure why this is needed.