From a2c6b82ada0bb1391e09bae6e9102ff45c3f80b7 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Wed, 24 Jul 2019 17:38:34 +0100 Subject: [PATCH] HHH-13496 Remove more dead code from Ejb3JoinColumn --- .../src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java b/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java index b7f9108aef..4413a5c34c 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java @@ -18,7 +18,6 @@ import org.hibernate.AnnotationException; import org.hibernate.AssertionFailure; import org.hibernate.MappingException; import org.hibernate.annotations.JoinColumnOrFormula; -import org.hibernate.annotations.JoinColumnsOrFormulas; import org.hibernate.annotations.JoinFormula; import org.hibernate.annotations.common.reflection.XClass; import org.hibernate.boot.model.naming.EntityNaming; @@ -499,9 +498,6 @@ public class Ejb3JoinColumn extends Ejb3Column { boolean ownerSide = getPropertyName() != null; boolean isRefColumnQuoted = StringHelper.isQuoted( logicalReferencedColumn ); - final String unquotedLogicalReferenceColumn = isRefColumnQuoted - ? StringHelper.unquote( logicalReferencedColumn ) - : logicalReferencedColumn; if ( mappedBySide ) { // NOTE : While it is completely misleading here to allow for the combination