René's URL Explorer Experiment


Title: changePosition NULL on UnifiedDiffReader.parseUnifiedDiff · Issue #117 · java-diff-utils/java-diff-utils · GitHub

Open Graph Title: changePosition NULL on UnifiedDiffReader.parseUnifiedDiff · Issue #117 · java-diff-utils/java-diff-utils

X Title: changePosition NULL on UnifiedDiffReader.parseUnifiedDiff · Issue #117 · java-diff-utils/java-diff-utils

Description: I was testing the tool and I picked a random commit from this repo to do so. Let's take 5338313. I accessed the diff of it by adding a .diff at the end of the URL and saved it into diff.txt file. I then used the tool to parse it in the f...

Open Graph Description: I was testing the tool and I picked a random commit from this repo to do so. Let's take 5338313. I accessed the diff of it by adding a .diff at the end of the URL and saved it into diff.txt file. I...

X Description: I was testing the tool and I picked a random commit from this repo to do so. Let's take 5338313. I accessed the diff of it by adding a .diff at the end of the URL and saved it into diff.txt fil...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"changePosition NULL on UnifiedDiffReader.parseUnifiedDiff","articleBody":"I was testing the tool and I picked a random commit from this repo to do so. Let's take https://github.com/java-diff-utils/java-diff-utils/commit/5338313a54c6eed065c3339a71870ba2d6fd0d0f. I accessed the `diff` of it by adding a `.diff` [at the end of the URL](https://github.com/java-diff-utils/java-diff-utils/commit/5338313a54c6eed065c3339a71870ba2d6fd0d0f.diff) and saved it into `diff.txt` file. I then used the tool to parse it in the following way:\r\n\r\n``` java\r\npublic static void main(String[] args) throws IOException {\r\n    var stream = new FileInputStream(new File(\"/path/to/diff.txt\"));\r\n    var patch  = UnifiedDiffReader.parseUnifiedDiff(stream);\r\n\r\n    patch.getFiles().forEach(f -\u003e {\r\n        System.out.println(\"File: \" + f.getFromFile());\r\n        f.getPatch().getDeltas().forEach(delta -\u003e {\r\n\r\n            System.out.println(\"Source: \");\r\n            System.out.println(delta.getSource().getPosition());\r\n            delta.getSource().getChangePosition().forEach(System.out::print);\r\n\r\n            System.out.println(\"Target: \");\r\n            System.out.println(delta.getTarget().getPosition());\r\n            delta.getTarget().getChangePosition().forEach(System.out::print);\r\n        });\r\n    });\r\n}\r\n```\r\n\r\nThe delta `getChangePosition` is just `null`. Am I doing something wrong?\r\n","author":{"url":"https://github.com/elanzini","@type":"Person","name":"elanzini"},"datePublished":"2021-03-11T07:20:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/117/java-diff-utils/issues/117"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fb1a38ec-6ef8-93c6-c4a6-c71c96b191cd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD170:221274:2D28D9:3EBD18:69694593
html-safe-nonce599f48dc6bd5362e1f9ae936c51624c537bc58cd21a77bd36850e63a74026759
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTcwOjIyMTI3NDoyRDI4RDk6M0VCRDE4OjY5Njk0NTkzIiwidmlzaXRvcl9pZCI6IjQzMDc3MjA4MjA5MDE4ODk0MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacda2d59acc8dcac6019c84c9dfe3080f97dc42b81c3a028788e51aaae2576aebe
hovercard-subject-tagissue:828859807
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/java-diff-utils/java-diff-utils/117/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d2924c9a5b96eaed57ee7d75d4e8949fc459ff3bc9666f36367d20c466b56a75/java-diff-utils/java-diff-utils/issues/117
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d2924c9a5b96eaed57ee7d75d4e8949fc459ff3bc9666f36367d20c466b56a75/java-diff-utils/java-diff-utils/issues/117
og:image:altI was testing the tool and I picked a random commit from this repo to do so. Let's take 5338313. I accessed the diff of it by adding a .diff at the end of the URL and saved it into diff.txt file. I...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameelanzini
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-preview
go-importgithub.com/java-diff-utils/java-diff-utils git https://github.com/java-diff-utils/java-diff-utils.git
octolytics-dimension-user_id40540835
octolytics-dimension-user_loginjava-diff-utils
octolytics-dimension-repository_id86663812
octolytics-dimension-repository_nwojava-diff-utils/java-diff-utils
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id86663812
octolytics-dimension-repository_network_root_nwojava-diff-utils/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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/java-diff-utils/java-diff-utils/issues/117#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjava-diff-utils%2Fjava-diff-utils%2Fissues%2F117
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjava-diff-utils%2Fjava-diff-utils%2Fissues%2F117
Sign up https://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=java-diff-utils%2Fjava-diff-utils
Reloadhttps://github.com/java-diff-utils/java-diff-utils/issues/117
Reloadhttps://github.com/java-diff-utils/java-diff-utils/issues/117
Reloadhttps://github.com/java-diff-utils/java-diff-utils/issues/117
java-diff-utils https://github.com/java-diff-utils
java-diff-utilshttps://github.com/java-diff-utils/java-diff-utils
Please reload this pagehttps://github.com/java-diff-utils/java-diff-utils/issues/117
Notifications https://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Fork 215 https://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Star 1.5k https://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Code https://github.com/java-diff-utils/java-diff-utils
Issues 1 https://github.com/java-diff-utils/java-diff-utils/issues
Pull requests 1 https://github.com/java-diff-utils/java-diff-utils/pulls
Discussions https://github.com/java-diff-utils/java-diff-utils/discussions
Actions https://github.com/java-diff-utils/java-diff-utils/actions
Projects 0 https://github.com/java-diff-utils/java-diff-utils/projects
Wiki https://github.com/java-diff-utils/java-diff-utils/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/java-diff-utils/java-diff-utils/security
Please reload this pagehttps://github.com/java-diff-utils/java-diff-utils/issues/117
Insights https://github.com/java-diff-utils/java-diff-utils/pulse
Code https://github.com/java-diff-utils/java-diff-utils
Issues https://github.com/java-diff-utils/java-diff-utils/issues
Pull requests https://github.com/java-diff-utils/java-diff-utils/pulls
Discussions https://github.com/java-diff-utils/java-diff-utils/discussions
Actions https://github.com/java-diff-utils/java-diff-utils/actions
Projects https://github.com/java-diff-utils/java-diff-utils/projects
Wiki https://github.com/java-diff-utils/java-diff-utils/wiki
Security https://github.com/java-diff-utils/java-diff-utils/security
Insights https://github.com/java-diff-utils/java-diff-utils/pulse
New issuehttps://github.com/login?return_to=https://github.com/java-diff-utils/java-diff-utils/issues/117
New issuehttps://github.com/login?return_to=https://github.com/java-diff-utils/java-diff-utils/issues/117
changePosition NULL on UnifiedDiffReader.parseUnifiedDiffhttps://github.com/java-diff-utils/java-diff-utils/issues/117#top
https://github.com/elanzini
https://github.com/elanzini
elanzinihttps://github.com/elanzini
on Mar 11, 2021https://github.com/java-diff-utils/java-diff-utils/issues/117#issue-828859807
5338313https://github.com/java-diff-utils/java-diff-utils/commit/5338313a54c6eed065c3339a71870ba2d6fd0d0f
at the end of the URLhttps://github.com/java-diff-utils/java-diff-utils/commit/5338313a54c6eed065c3339a71870ba2d6fd0d0f.diff
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.