We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9adc4d commit b9ce6baCopy full SHA for b9ce6ba
src/org/opensolaris/opengrok/util/ClassUtil.java
@@ -56,7 +56,7 @@ public static void remarkTransientFields(Class targetClass) {
56
BeanInfo info;
57
info = Introspector.getBeanInfo(targetClass);
58
PropertyDescriptor[] propertyDescriptors = info.getPropertyDescriptors();
59
- for (Field f : Project.class.getDeclaredFields()) {
+ for (Field f : targetClass.getDeclaredFields()) {
60
if (Modifier.isTransient(f.getModifiers())) {
61
for (int i = 0; i < propertyDescriptors.length; ++i) {
62
if (propertyDescriptors[i].getName().equals(f.getName())) {
0 commit comments