Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 08c5cec

Browse files
committed
Update RatcliffObershelp.java
Fixed diamond operator to comply with Java 1.6
1 parent baed917 commit 08c5cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/main/java/info/debatty/java/stringsimilarity/RatcliffObershelp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public final double distance(final String s1, final String s2) {
9494
}
9595

9696
private static List<String> getMatchList(final String s1, final String s2) {
97-
List<String> list = new ArrayList<>();
97+
List<String> list = new ArrayList<String>();
9898
String match = frontMaxMatch(s1, s2);
9999

100100
if (match.length() > 0) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /