summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2025-05-06 06:45:36 +0000
committerGo MAEDA <maeda@farend.jp>2025-05-06 06:45:36 +0000
commit7e4acb6b23d3a76bac3d85e8e416855a07ac48b1 (patch)
tree47ffe06f2eda22ad5e27a16892bae0269a1df43d /lib
parentc227b006e15859b579c436094095c5e188cd3c06 (diff)
downloadredmine-master.tar.gz
redmine-master.zip
Optimize `Version::FixedIssuesExtension#issues_progress` by avoiding repeated `Issue#closed?` calls (#42673).HEADmaster
Since the issues are already filtered by open or closed status using the `open` argument through the `self.open(open)` scope, the call to expensive method `Issue#closed?` can be safely replaced with a check of the `open` argument. Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23747 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions