Skip to content

Commit

Permalink
tolerance of getSimilarName(..) reduced
Browse files Browse the repository at this point in the history
  • Loading branch information
oboehm committed Jan 24, 2018
1 parent f642784 commit 3d10613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/jfachwert/FachwertFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ private String getSimilarName(String name) {
minDistance = dist;
}
}
if (minDistance > 4) {
if (minDistance > 2) {
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Nearest name for '" + name + "' is '" + similarName + "' and too far away (" + minDistance +
") - will use Text class as fallback.");
Expand Down

0 comments on commit 3d10613

Please sign in to comment.