Title: patch delta inconsistency on a 1-character insert · Issue #23 · is/java-diff-utils · GitHub
Open Graph Title: patch delta inconsistency on a 1-character insert · Issue #23 · is/java-diff-utils
X Title: patch delta inconsistency on a 1-character insert · Issue #23 · is/java-diff-utils
Description: What steps will reproduce the problem? 1. see attached test.java 2. enable 1 set of add statements and disable the other, run it 3. enable the other set of adds and disable the ones used in 2., and run it What is the expected output? Wha...
Open Graph Description: What steps will reproduce the problem? 1. see attached test.java 2. enable 1 set of add statements and disable the other, run it 3. enable the other set of adds and disable the ones used in 2., and...
X Description: What steps will reproduce the problem? 1. see attached test.java 2. enable 1 set of add statements and disable the other, run it 3. enable the other set of adds and disable the ones used in 2., and...
Opengraph URL: https://github.com/is/java-diff-utils/issues/23
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"patch delta inconsistency on a 1-character insert","articleBody":"```\nWhat steps will reproduce the problem?\n1. see attached test.java\n2. enable 1 set of add statements and disable the other, run it\n3. enable the other set of adds and disable the ones used in 2., and run it\n\nWhat is the expected output? What do you see instead?\nthe only change between the orig. and revised strings is the addition of 1 \ncharacter in revised.\none set of adds generates a patch with a single ChangeDelta. the other set of \nadds generate a patch with an InsertDelta on Pos. 1 and a DeleteDelta on Pos. \n2. I assume Position = line #.\n\nWhat version of the product are you using? On what operating system?\n1.2.1\n\nPlease provide any additional information below.\n\n\n```\n\nOriginal issue reported on code.google.com by `madmarco...@gmail.com` on 27 Feb 2012 at 10:45\n\nAttachments:\n- [test.java](https://storage.googleapis.com/google-code-attachments/java-diff-utils/issue-23/comment-0/test.java)\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2015-05-19T16:21:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/23/java-diff-utils/issues/23"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:83776b8c-5889-e7b5-7c4f-e9658af1a9c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3DA:967D4:9CE46A:CB271F:6976699F |
| html-safe-nonce | 48d878b03ca71cb7e3d5b870afc76be0939ca107937952de9e67e243cf4b8579 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0RBOjk2N0Q0OjlDRTQ2QTpDQjI3MUY6Njk3NjY5OUYiLCJ2aXNpdG9yX2lkIjoiODE4MTQyODMwOTk0Mjc1Nzc5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e421b39009a17616527081c9c89b8a49d0c34dc89603c6c37482f813cc3f31fb |
| hovercard-subject-tag | issue:78155768 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/is/java-diff-utils/23/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0281c3e1159ec05eed2c3dbdb0cf7ff13900e789c9f264c3fe6470c5c45bb741/is/java-diff-utils/issues/23 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0281c3e1159ec05eed2c3dbdb0cf7ff13900e789c9f264c3fe6470c5c45bb741/is/java-diff-utils/issues/23 |
| og:image:alt | What steps will reproduce the problem? 1. see attached test.java 2. enable 1 set of add statements and disable the other, run it 3. enable the other set of adds and disable the ones used in 2., and... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GoogleCodeExporter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/is/java-diff-utils git https://github.com/is/java-diff-utils.git |
| octolytics-dimension-user_id | 3188 |
| octolytics-dimension-user_login | is |
| octolytics-dimension-repository_id | 35894000 |
| octolytics-dimension-repository_nwo | is/java-diff-utils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35894000 |
| octolytics-dimension-repository_network_root_nwo | is/java-diff-utils |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width