Skip to content

Get list of lines that are common between source and patch #42

@xbotuk

Description

@xbotuk

I am trying to iterate through the deltas =, however I would like to get list of lines that are common between the two sets of List by checking
if (delta.getType() == DeltaType.EQUAL) {
}

However I am not able to see how to get this. The JUnit code and test examples do not show this examples. Please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions