Accepting a fix
Last updated
Last updated
Continuing with the example of Fix OV-LFA-1-2, there are 2 buttons at the bottom left of the diff window. They are labeled Accept and Reject. These options allow you to make a decision on whether or not the changes are desired.
By clicking the Accept button, the fix (OV-LFA-1-2) is placed in the Accepted state. If this had been a fix involving multiple diffs, because the change required updates to more than one file, all of the changes are connected and changing some without the others would result in invalid code. It does not really matter which particular diff is used to accept or reject the changes. In the earlier example, Accept is chosen for Diff: 3. Once chosen, the Diff window closes, and the fix disappears from the list of Unresolved fixes.
Note that the summary tab now shows one fix in the Accepted state. Its tab is now highlighted in Blue because it is no longer empty.
Clicking on the Accepted tab brings up the list of accepted fixes. In this example, there is the fix we just accepted, fix OV-LFA-1-2, with changes to the 4 files.