Skip to content

Commit f35f1a5

Browse files
author
Neil Fraser
committed
Add deprecation annotation to Java method.
Required by Google’s compiler.
1 parent 9a5dd41 commit f35f1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/name/fraser/neil/plaintext/diff_match_patch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,7 @@ public LinkedList<Patch> patch_make(LinkedList<Diff> diffs) {
18101810
* @return LinkedList of Patch objects.
18111811
* @deprecated Prefer patch_make(String text1, LinkedList<Diff> diffs).
18121812
*/
1813-
public LinkedList<Patch> patch_make(String text1, String text2,
1813+
@Deprecated public LinkedList<Patch> patch_make(String text1, String text2,
18141814
LinkedList<Diff> diffs) {
18151815
return patch_make(text1, diffs);
18161816
}

0 commit comments

Comments
 (0)