Branch: refs/heads/cwm-deep-copy
Home: https://github.com/yast/yast-yast2
Commit: 0618efa5e54ae7c186e0935d50d14b7a8fb37a70
https://github.com/yast/yast-yast2/commit/0618efa5e54ae7c186e0935d50d14b7a8f...
Author: Martin Vidner
Date: 2018-10-11 (Thu, 11 Oct 2018)
Changed paths:
M library/cwm/src/modules/CWM.rb
Log Message:
-----------
Remove redundant deep_copy in validation methods
These methods could take their argument as a read-only reference
- they do not modify their argument
- they only pass the argument to similar methods
- they do not return their argument
Commit: 17ef2ad5300f6a8c9d73ce1c2f3f0567e64d2d01
https://github.com/yast/yast-yast2/commit/17ef2ad5300f6a8c9d73ce1c2f3f0567e6...
Author: Martin Vidner
Date: 2018-10-11 (Thu, 11 Oct 2018)
Changed paths:
M library/cwm/src/modules/CWM.rb
M library/cwm/test/cwm_test.rb
Log Message:
-----------
Optimized PrepareDialog and ProcessTerm
only one deep_copy is left, just in case the caller modifies the return value
Commit: 0fd2e0982c9bc137644989f113bb2b2e69b2c6b8
https://github.com/yast/yast-yast2/commit/0fd2e0982c9bc137644989f113bb2b2e69...
Author: Martin Vidner
Date: 2018-10-11 (Thu, 11 Oct 2018)
Changed paths:
M library/cwm/src/modules/CWM.rb
Log Message:
-----------
Removed the remaining deep_copy from PrepareDialog
because all known callers are safe
Commit: 8073cc03f1777f6f4c7ed91b4add3b3bf8312799
https://github.com/yast/yast-yast2/commit/8073cc03f1777f6f4c7ed91b4add3b3bf8...
Author: Martin Vidner
Date: 2018-10-11 (Thu, 11 Oct 2018)
Changed paths:
M library/cwm/src/modules/CWM.rb
Log Message:
-----------
A redundant deep_copy in handleWidgets
Compare: https://github.com/yast/yast-yast2/compare/0b235cf73b52...8073cc03f177
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.