René's URL Explorer Experiment


Title: Change line has wrong diff indicators · Issue #18 · seanshou/java-diff-utils · GitHub

Open Graph Title: Change line has wrong diff indicators · Issue #18 · seanshou/java-diff-utils

X Title: Change line has wrong diff indicators · Issue #18 · seanshou/java-diff-utils

Description: What steps will reproduce the problem? This JUnit test fails on the 2nd assert: public final void testGenerateDiffRowsListOfStringListOfStringChange1() { DiffRowGenerator generator = new DiffRowGenerator.Builder().showInlineDiffs(true).i...

Open Graph Description: What steps will reproduce the problem? This JUnit test fails on the 2nd assert: public final void testGenerateDiffRowsListOfStringListOfStringChange1() { DiffRowGenerator generator = new DiffRowGen...

X Description: What steps will reproduce the problem? This JUnit test fails on the 2nd assert: public final void testGenerateDiffRowsListOfStringListOfStringChange1() { DiffRowGenerator generator = new DiffRowGen...

Opengraph URL: https://github.com/seanshou/java-diff-utils/issues/18

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Change line has wrong diff indicators","articleBody":"```\nWhat steps will reproduce the problem?\n\nThis JUnit test fails on the 2nd assert:\n\n    public final void testGenerateDiffRowsListOfStringListOfStringChange1() {\n\n        DiffRowGenerator generator = new DiffRowGenerator.Builder().showInlineDiffs(true).ignoreWhiteSpaces(true)\n                .columnWidth(100).build();\n\n        List\u003cString> revised = new ArrayList\u003cString>();\n        List\u003cString> original = new ArrayList\u003cString>();\n\n        original.add(\"aaaaa\");\n        revised.add(\"aabaa\");\n\n        List\u003cDiffRow> result = generator.generateDiffRows(original, revised);\n\n        assertEquals(\"wrong size\", 1, result.size());\n\n        assertEquals(\"wrong tag\", DiffRow.Tag.CHANGE, result.get(0).getTag());\n        assertEquals(\"wrong new value\", \"aa\u003cspan class=\\\"editNewInline\\\">b\u003c/span>aa\", result.get(0).getNewLine());\n        assertEquals(\"wrong old value\", \"aa\u003cspan class=\\\"editOldInline\\\">a\u003c/span>aa\", result.get(0).getOldLine());\n    }\n\nWhat is the expected output? What do you see instead?\n\njunit.framework.ComparisonFailure: wrong old value expected:\u003caa[\u003cspan \nclass=\"editOldInline\">a\u003c/span>aa]> but was:\u003caa[aa\u003cspan \nclass=\"editOldInline\">a\u003c/span>]>\n    at junit.framework.Assert.assertEquals(Assert.java:81)\n\nNote that the difference for the \"old\" line indicates the changed part is the \nlast \"a\" and not the middle \"a\" where it should be.\n\nWhat version of the product are you using? On what operating system?\n\nDownloaded this file: java-diff-utils-1.2src.zip\nWindows XP\n\nPlease provide any additional information below.\n\n\n```\n\nOriginal issue reported on code.google.com by `LeeMeado...@gmail.com` on 2 May 2011 at 2:31\n\nAttachments:\n- [DiffRowGeneratorTest.java](https://storage.googleapis.com/google-code-attachments/java-diff-utils/issue-18/comment-0/DiffRowGeneratorTest.java)\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2016-02-17T03:05:49Z","url":"https://github.com/seanshou/java-diff-utils/issues/18"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:838feabe-ac6d-c226-2b15-f16614f75d0b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA50C:2E0E94:87822B:B99806:6AFBD0AB
html-safe-nonce4b0b6c8f8db27e5860b810610b594a70a4eb81c0f9e2f7d244bbfe4c58167cb4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTBDOjJFMEU5NDo4NzgyMkI6Qjk5ODA2OjZBRkJEMEFCIiwidmlzaXRvcl9pZCI6IjcxNjY0MDMwNzk5NjE0MTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca98f0a09c68375bcb99b6417cb0e2b71161e71cebbce26c11a3c633b8faff7e8
hovercard-subject-tagissue:134163725
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/seanshou/java-diff-utils/18/issue_layout
twitter:imagehttps://opengraph.githubassets.com/60013ff8ce1392b3c8e7574e49f71c0fb41c8a0676368fcc0f3b444655022b60/seanshou/java-diff-utils/issues/18
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60013ff8ce1392b3c8e7574e49f71c0fb41c8a0676368fcc0f3b444655022b60/seanshou/java-diff-utils/issues/18
og:image:altWhat steps will reproduce the problem? This JUnit test fails on the 2nd assert: public final void testGenerateDiffRowsListOfStringListOfStringChange1() { DiffRowGenerator generator = new DiffRowGen...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGoogleCodeExporter
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-preview
go-importgithub.com/seanshou/java-diff-utils git https://github.com/seanshou/java-diff-utils.git
octolytics-dimension-user_id2314941
octolytics-dimension-user_loginseanshou
octolytics-dimension-repository_id51889826
octolytics-dimension-repository_nwoseanshou/java-diff-utils
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id51889826
octolytics-dimension-repository_network_root_nwoseanshou/java-diff-utils
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/seanshou/java-diff-utils/issues/18#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fseanshou%2Fjava-diff-utils%2Fissues%2F18
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fseanshou%2Fjava-diff-utils%2Fissues%2F18
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=seanshou%2Fjava-diff-utils
Reloadhttps://github.com/seanshou/java-diff-utils/issues/18
Reloadhttps://github.com/seanshou/java-diff-utils/issues/18
Reloadhttps://github.com/seanshou/java-diff-utils/issues/18
seanshouhttps://github.com/seanshou
java-diff-utilshttps://github.com/seanshou/java-diff-utils
Codehttps://github.com/seanshou/java-diff-utils
Issues14 (14)https://github.com/seanshou/java-diff-utils/issues
Pull requestshttps://github.com/seanshou/java-diff-utils/pulls
Actionshttps://github.com/seanshou/java-diff-utils/actions
Projectshttps://github.com/seanshou/java-diff-utils/projects
Security and qualityhttps://github.com/seanshou/java-diff-utils/security
Insightshttps://github.com/seanshou/java-diff-utils/pulse
https://github.com/seanshou/java-diff-utils
New issuehttps://github.com/login?return_to=https://github.com/seanshou/java-diff-utils/issues/18
New issuehttps://github.com/login?return_to=https://github.com/seanshou/java-diff-utils/issues/18
Change line has wrong diff indicatorshttps://github.com/seanshou/java-diff-utils/issues/18#top
Priority-Mediumhttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22Priority-Medium%22
Type-Defecthttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22Type-Defect%22
auto-migratedhttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22auto-migrated%22
https://github.com/GoogleCodeExporter
GoogleCodeExporterhttps://github.com/GoogleCodeExporter
on Feb 17, 2016https://github.com/seanshou/java-diff-utils/issues/18#issue-134163725
DiffRowGeneratorTest.javahttps://storage.googleapis.com/google-code-attachments/java-diff-utils/issue-18/comment-0/DiffRowGeneratorTest.java
https://github.com/GoogleCodeExporter
GoogleCodeExporterhttps://github.com/GoogleCodeExporter
on Feb 17, 2016https://github.com/seanshou/java-diff-utils/issues/18#issuecomment-184991441
GoogleCodeExporterhttps://github.com/GoogleCodeExporter
Priority-Mediumhttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22Priority-Medium%22
Type-Defecthttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22Type-Defect%22
auto-migratedhttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22auto-migrated%22
on Feb 17, 2016https://github.com/seanshou/java-diff-utils/issues/18#event-552986187
Sign up for freehttps://github.com/signup?return_to=https://github.com/seanshou/java-diff-utils/issues/18
Sign in to commenthttps://github.com/login?return_to=https://github.com/seanshou/java-diff-utils/issues/18
Priority-Mediumhttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22Priority-Medium%22
Type-Defecthttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22Type-Defect%22
auto-migratedhttps://github.com/seanshou/java-diff-utils/issues?q=state%3Aopen%20label%3A%22auto-migrated%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.