It's all about the answers!

Ask a question

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


Arun K Sriramaiah (3.2k23677) | asked Aug 09 '16, 2:18 a.m.
edited Aug 09 '16, 10:02 a.m. by David Lafreniere (4.8k7)
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.?

Accepted answer


permanent link
Arun K Sriramaiah (3.2k23677) | answered Aug 09 '16, 2:19 a.m.
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

Your answer


Register or 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.