dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

class field can be replaced by local variable

Open noobyu6 opened this issue 3 years ago • 2 comments

What this PR does / why we need it: class fields can be replaced by local variables which can save memory Which issue(s) this PR closes:

  • Closes #8771

Special notes for your reviewer: no Suggestions on how to test this: code review Does this PR introduce a user interface change? If mockups are available, please link/include them here: no Is there a release notes update needed for this change?: reduce memory usage Additional documentation:

noobyu6 avatar Jun 20 '22 12:06 noobyu6

Coverage Status

Coverage increased (+0.008%) to 19.718% when pulling 68be76766e4a23c1eaf8f9d625d515fb577603b8 on noobyu6:master into 21ac7e1e7d9123bcfc071e2c00989b4347a7b5c0 on IQSS:master.

coveralls avatar Jun 23 '22 15:06 coveralls

Hi @noobyu6 , for this next sprint we are catching up on Community PRs. Would you mind updating/ refreshing thiis PR from develop? Thanks!

scolapasta avatar Aug 04 '22 19:08 scolapasta

As discussed at standup, we're comfortable with the same person doing review and QA. I'm merging this. Again, it's a trivial change and the SWORD API tests pass.

pdurbin avatar Sep 08 '22 19:09 pdurbin

@noobyu6 I'm very sorry but I merged this pull request without noticing that it was targeting the "master" branch rather than the "develop" branch. Can you please create a new pull request that targets the "develop" branch? Thanks.

pdurbin avatar Sep 08 '22 20:09 pdurbin

I see the same situation exists in the master branch, so merging into the master branch is also ok

noobyu6 avatar Sep 09 '22 03:09 noobyu6

@noobyu6 no. I reverted the master branch (see #8967). It comes down to our process. All PRs are merged into develop. Then at release time we merge develop into master. So please make a new PR against develop if you want this change. Sorry for the inconvenience.

pdurbin avatar Sep 09 '22 10:09 pdurbin

@pdurbin I have made a new PR (see #8970).

noobyu6 avatar Sep 09 '22 19:09 noobyu6