Skip to content

Commit 7bc86c7

Browse files
marko-bekhtasebersole
authored andcommitted
HHH-19183 Remove commit 5653262 by Roland Illig
1 parent 9df106b commit 7bc86c7

File tree

2 files changed

+0
-68
lines changed

2 files changed

+0
-68
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/naming/NamingHelperTest.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

hibernate-testing/src/main/java/org/hibernate/testing/util/ReflectionUtil.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,6 @@ public static <T> T getFieldValue(Object target, String name) {
6363
}
6464
}
6565

66-
/**
67-
* Get a field value from a given class
68-
*
69-
* @param target Class whose field is being read
70-
* @param name field name
71-
*
72-
* @return field value
73-
*/
74-
public static <T> T getStaticFieldValue(Class<?> target, String name) {
75-
try {
76-
Field field = getField( target, name );
77-
return (T) field.get( null );
78-
}
79-
catch (IllegalAccessException e) {
80-
throw new IllegalArgumentException( "Cannot set field " + name, e );
81-
}
82-
}
83-
8466
/**
8567
* Set target Object field to a certain value
8668
*

0 commit comments

Comments
 (0)