codeshovel icon indicating copy to clipboard operation
codeshovel copied to clipboard

Getting the diff for Ydocchange

Open ishtiaque05 opened this issue 4 years ago • 0 comments

"f7cda475cd784369a345bcee687bb2de630c8d6a": {
      "type": "Ydocchange",
      "commitMessage": "joc change\n",
      "commitDate": "23/02/21 1:39 PM",
      "commitName": "f7cda475cd784369a345bcee687bb2de630c8d6a",
      "commitAuthor": "Syed Ishtiaque Ahmad",
      "commitDateOld": "23/02/21 12:21 PM",
      "commitNameOld": "76efe8b277f2be70003630ef53b4b44ebc123ec2",
      "commitAuthorOld": "Syed Ishtiaque Ahmad",
      "daysBetweenCommits": 0.05,
      "commitsBetweenForRepo": 1,
      "commitsBetweenForFile": 1,
      "actualSource": "@SuppressWarnings(\"Hello changed the annotation\")\npublic void testSumagain() throws ArithmeticException, ArrayIndexOutOfBoundsExceptionthrows {\n    Calculator calculator \u003d new Calculator();\n    int result \u003d calculator.sum(2, 2);\n    int iby4 \u003d calculator.incrementBy4(result);\n    Assert.assertTrue(result \u003d\u003d 4);\n    Assert.assertEquals(8, iby4);\n}",
      "path": "src/test/java/com/github/stokito/unitTestExample/calculator/CalculatorTest.java",
      "functionStartLine": 14,
      "functionName": "testSumagain",
      "functionAnnotation": "@SuppressWarnings(\"Hello changed the annotation\")",
      "functionDoc": "\n@params empty params\n@throws ArithmeticException\n@throws ArrayIndexOutOfBoundsExceptionthrows\n",
      "diff": "",
      "extendedDetails": {
        "oldValue": "\n@throws ArithmeticException\n@throws ArrayIndexOutOfBoundsExceptionthrows\n",
        "newValue": "\n@params empty params\n@throws ArithmeticException\n@throws ArrayIndexOutOfBoundsExceptionthrows\n"
      }
    }

The diff in the above json should have the doc changes value inside the extendedDetails key.

ishtiaque05 avatar Mar 12 '21 21:03 ishtiaque05