All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.validator.internal.util.Version Maven / Gradle / Ivy

There is a newer version: 8.0.1.Final
Show newest version
/*
 * Hibernate Validator, declare and validate application constraints
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or .
 */
package org.hibernate.validator.internal.util;

import java.lang.invoke.MethodHandles;

import org.hibernate.validator.internal.util.logging.LoggerFactory;

/**
 * @author Hardy Ferentschik
 * @author Kevin Pollet <[email protected]> (C) 2012 SERLI
 */
public final class Version {

	static {
		LoggerFactory.make( MethodHandles.lookup() )
			.version( getVersionString() );
	}

	public static String getVersionString() {
		return Version.class.getPackage().getImplementationVersion();
	}

	public static void touch() {
	}

	// helper class should not have a public constructor
	private Version() {
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy