| Chunk |
|---|
| Conflicting content |
|---|
};
});
<<<<<<< HEAD
log.debug("Validating steps");
StepLocator locator = StepLocator.getStepLocator(project);
=======
final Map |
| Solution content |
|---|
};
});
log.debug("Validating steps");
StepLocator locator = project.getStepLocator();
locator.traverseSteps(new Visitor |
| File |
|---|
| MarkingStoryValidator.java |
| Developer's decision |
|---|
| Combination |
| Kind of conflict |
|---|
| For statement |
| Method invocation |
| Variable |
| Chunk |
|---|
| Conflicting content |
|---|
if(isAndCase) {
StoryPart part = new StoryPartDocumentUtils(localizedStepSupport).findStoryPartAtOffset(document, offset).get();
JBKeyword kw = part.getPreferredKeyword();
<<<<<<< HEAD
if(kw == JBKeyword.And) {
logger.debug("Autocompletion unable to disambiguate 'And' case: previous story part is probably not a step");
return null;
}
int indexOf = lineStart.indexOf(' ');
stepStartUsedForSearch = kw.asString() + lineStart.substring(indexOf);
}
logger.debug("Autocompletion step start used for search: <{}>", stepStartUsedForSearch);
IProject project = EditorUtils.findProject(viewer);
Iterable |
| Solution content |
|---|
if(isAndCase) {
StoryPart part = new StoryPartDocumentUtils(localizedStepSupport).findStoryPartAtOffset(document, offset).get();
JBKeyword kw = part.getPreferredKeyword();
if(kw == JBKeyword.And) {
logger.debug("Autocompletion unable to disambiguate 'And' case: previous story part is probably not a step");
return null;
}
int indexOf = localizedStepSupport.lAnd(false).length();
stepStartUsedForSearch = kw.asString(localizedStepSupport.getLocalizedKeywords()) + lineStart.substring(indexOf);
}
logger.debug("Autocompletion step start used for search: <{}>", stepStartUsedForSearch);
Iterable |
| File |
|---|
| StepContentAssistProcessor.java |
| Developer's decision |
|---|
| Combination |
| Kind of conflict |
|---|
| If statement |
| Method invocation |
| Variable |