/*
 * Hibernate Validator, declare and validate application constraints
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
 */
package org.hibernate.validator.internal.util;

import java.lang.invoke.MethodHandles;

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

Author:Hardy Ferentschik, Kevin Pollet <kevin.pollet@serli.com> (C) 2012 SERLI
/** * @author Hardy Ferentschik * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (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() { } }