From ea513967315e82aa4a1f2e280b6f0514c6c16b93 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 13 Feb 2014 18:17:47 +0400 Subject: [PATCH] Dead code removed as this cannot be null in Java. (cherry picked from commit dbe7634286d405161adb30677aa4d07cc17e0de2) --- modules/java/generator/src/java/core+TermCriteria.java | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/java/generator/src/java/core+TermCriteria.java b/modules/java/generator/src/java/core+TermCriteria.java index 98a5e3c394..c67e51ea8d 100644 --- a/modules/java/generator/src/java/core+TermCriteria.java +++ b/modules/java/generator/src/java/core+TermCriteria.java @@ -87,7 +87,6 @@ public class TermCriteria { @Override public String toString() { - if (this == null) return "null"; return "{ type: " + type + ", maxCount: " + maxCount + ", epsilon: " + epsilon + "}"; } }