Skip to content

Commit 654c303

Browse files
committed
...
1 parent c793cd5 commit 654c303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate5-jakarta/src/test/java/tools/jackson/datatype/hibernate5/jakarta/Hibernate5JakartaVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public static String getHibernateVersion() {
77
// Use Version.getVersionString() instead of Package.getImplementationVersion()
88
// because the latter returns null in JPMS/module-info contexts
99
Class<?> versionClass = Class.forName("org.hibernate.Version");
10-
return (String) versionClass.getMethod("getVersionString").invoke(null);
10+
return (String) versionClass.getMethod("getVersionString").invoke(null);
1111
} catch (Exception e) {
1212
// Should not happen: hibernate not found in the classpath
1313
throw new RuntimeException(e);

0 commit comments

Comments
 (0)