From: Roland Haeder Date: Thu, 27 Aug 2015 12:26:23 +0000 (+0200) Subject: use getFields(), not getDeclaredFields() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9f054e319546aa6261e844e6dbfbf3f1b0a94799;p=jcore.git use getFields(), not getDeclaredFields() Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcore/BaseFrameworkSystem.java b/src/org/mxchange/jcore/BaseFrameworkSystem.java index 7677441..25a0d3c 100644 --- a/src/org/mxchange/jcore/BaseFrameworkSystem.java +++ b/src/org/mxchange/jcore/BaseFrameworkSystem.java @@ -1192,7 +1192,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { Class type = null; // Get all attributes from given instance - Field[] fields = this.getClassFromTarget(instance, targetClass).getDeclaredFields(); + Field[] fields = this.getClassFromTarget(instance, targetClass).getFields(); // Debug message this.getLogger().debug(MessageFormat.format("fields()={0}", fields.length)); //NOI18N