HHH-15415 Move the JaxbXmlFormatMapper as well for consistency

This commit is contained in:
Sanne Grinovero 2022-07-22 13:42:02 +01:00 committed by Sanne Grinovero
parent 2f313edfab
commit 2dbf38ef7b
3 changed files with 5 additions and 4 deletions

View File

@ -71,7 +71,7 @@ import org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder;
import org.hibernate.service.spi.ServiceRegistryImplementor;
import org.hibernate.stat.Statistics;
import org.hibernate.type.FormatMapper;
import org.hibernate.type.JaxbXmlFormatMapper;
import org.hibernate.type.jaxb.JaxbXmlFormatMapper;
import org.hibernate.type.jackson.JacksonIntegration;
import org.hibernate.type.jakartajson.JakartaJsonIntegration;

View File

@ -41,7 +41,7 @@ import org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder;
import org.hibernate.type.FormatMapper;
import org.hibernate.type.jackson.JacksonJsonFormatMapper;
import org.hibernate.type.jackson.JacksonXmlFormatMapper;
import org.hibernate.type.JaxbXmlFormatMapper;
import org.hibernate.type.jaxb.JaxbXmlFormatMapper;
import org.hibernate.type.jakartajson.JsonBJsonFormatMapper;
import org.jboss.logging.Logger;

View File

@ -4,7 +4,7 @@
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.type;
package org.hibernate.type.jaxb;
import java.io.StringReader;
import java.io.StringWriter;
@ -22,6 +22,7 @@ import javax.xml.namespace.QName;
import org.hibernate.internal.util.ReflectHelper;
import org.hibernate.internal.util.collections.CollectionHelper;
import org.hibernate.type.FormatMapper;
import org.hibernate.type.descriptor.WrapperOptions;
import org.hibernate.type.descriptor.java.BasicPluralJavaType;
import org.hibernate.type.descriptor.java.JavaType;
@ -41,7 +42,7 @@ import org.w3c.dom.Node;
/**
* @author Christian Beikov
*/
public class JaxbXmlFormatMapper implements FormatMapper {
public final class JaxbXmlFormatMapper implements FormatMapper {
public static final String SHORT_NAME = "jaxb";