arrowhead-f / core-java

Arrowhead Core Framework Implementation in Java
https://forge.soa4d.org/plugins/mediawiki/wiki/arrowhead-f/index.php/Main_Page
Apache License 2.0
4 stars 12 forks source link

*.partialUpdate() #27

Closed eudyptula closed 6 years ago

eudyptula commented 6 years ago

I noticed that the *.partialUpdate() methods works solely on references. Following a call to this method; if one were to change the contents of a list in either of the two objects the list would change in the other as well. Not sure if this is the intended behaviour, but could result in some weird errors later on.

uzoltan commented 6 years ago

Only the ArrowheadService class had collections, I modified the partialUpdate method there to make deep copies of collections now. b0e8e0ff58dbf101da7cfdb157ccb85640084a72