Skip to content

Request for possible change in the code #7

Description

@gdegentile1

Hello,

I already have a code doing comparison based on in-memory String, I mean that the Strings are not saved as Files.

With the current version of your code, I have to save the Strings to files in order to perform the comparison.
I would like to request a small change in your code, so I could use the underlying methods which are dealing with lines.

JavaDiffUtils2HtmlWrapper

// define getter and setter methods for below variables
FileDiffHtmlBuilder htmlBuilder;
DiffToHtmlParameters params;

// Change visibility of below method to public
private void appendDiffToBuilder(List<String> originalLines, List<String> revisedLines) throws DiffException {
	...
}

Many thanks
Best regards,
Guillaume

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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