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.?
.
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
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.
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.