History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-35567
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andrey Simanovsky
Reporter: Andrew Serebryansky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Remove redundant check modifies behavior

Created: 12 Feb 07 19:26   Updated: 26 Mar 07 18:15
Component/s: None
Fix Version/s: 2.5.2
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 351
Fixed in build: 407


 Description  « Hide
  • code initially reads while(results.Read != false) {}
  • Resharper suggests removing redundant check for false
  • Proceed with suggested action and the following code is produced:
    while(!results.Read()) {}

however it should be:
while(results.Read()) {}



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.