From b3bb6d6dd61ae7f167ea1f803e367844d5b73e54 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Tue, 14 Feb 2012 18:27:05 +0000 Subject: [PATCH] remove dead code from boolean operand --- .../hibernate/type/descriptor/java/StringTypeDescriptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringTypeDescriptor.java b/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringTypeDescriptor.java index cdc4e80c27..eb8f206d51 100644 --- a/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringTypeDescriptor.java +++ b/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringTypeDescriptor.java @@ -84,7 +84,7 @@ public class StringTypeDescriptor extends AbstractTypeDescriptor { if ( Reader.class.isInstance( value ) ) { return DataHelper.extractString( (Reader) value ); } - if ( Clob.class.isInstance( value ) || DataHelper.isNClob( value.getClass() ) ) { + if ( Clob.class.isInstance( value ) ) { return DataHelper.extractString( (Clob) value ); }