Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

While comparing code in RTC eclipse client, NULL ('') and SPACE ( ) are considered as same.

RTC eclipse client - Code comparison (clarification)
.
Problem description and business impact
While comparing code in RTC eclipse client, NULL ('') and SPACE ( ) are considered as same.

ex.

If a==''

and

If a==' '

are treated as same.

Can you provide more details on code comparison functionality.?

1 vote


Accepted answer

Permanent link
Comparing the white space  "" and " " ( space in between) in the source file.

Note: The reason is every changes in the source file will be captured
as a new changes in RTC, so its recorded as change-set.

When it comes to comparison they can't ignore the changes, since its
already been created as new changes in RTC server, but the spaces in
the code file can be ignored by enabling the the option "Ignore White
Space" in Eclipse >> General>> Compare?patch.)

The Scope of comparison can be set in eclipse client by Selecting the
option "Ignore White Space", It ignores the space changes when its
comparing the above usecase.

David Lafreniere selected this answer as the correct answer

2 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202

Question asked: Aug 09 '16, 2:18 a.m.

Question was seen: 3,187 times

Last updated: Aug 09 '16, 10:02 a.m.

Confirmation Cancel Confirm