I have a svn diff where parsing seems to miss the start of the second class.
Index: MyClass1.java
--- MyClass1.java (nonexistent)
+++ MyClass1.java (working copy)
@@ -0,0 +1,30 @@
+/*
+package com.xxx;
+
+/**
-
- */
+public class MyClass1
+{
- @OverRide
- public boolean equals(Object obj)
- {
- return super.equals(obj);
- }
- @OverRide
- public int hashCode()
- {
- return super.hashCode();
- }
- @OverRide
- public String toString()
- {
- return super.toString();
- }
+}
Index: MyClass2.java
===================================================================
--- MyClass2.java (nonexistent)
+++ MyClass2.java (working copy)
@@ -0,0 +1,30 @@
+/*
-
-
- */
+package com.xxx;
+
+/**
-
- */
+public class MyClass2
+{
- @OverRide
- public boolean equals(Object obj)
- {
- return super.equals(obj);
- }
- @OverRide
- public int hashCode()
- {
- return super.hashCode();
- }
- @OverRide
- public String toString()
- {
- return super.toString();
- }
+}
When parsed the first hunk ends on the line:
+++ MyClass2.java (working copy)
Instead of the Index one.
I have a svn diff where parsing seems to miss the start of the second class.
When parsed the first hunk ends on the line:
Instead of the Index one.