[ 
https://issues.apache.org/jira/browse/LANG-1692?focusedWorklogId=811811&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-811811
 ]

ASF GitHub Bot logged work on LANG-1692:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Sep/22 08:16
            Start Date: 24/Sep/22 08:16
    Worklog Time Spent: 10m 
      Work Description: tisonkun commented on code in PR #951:
URL: https://github.com/apache/commons-lang/pull/951#discussion_r979195492


##########
src/main/java/org/apache/commons/lang3/builder/ReflectionDiffBuilder.java:
##########
@@ -110,8 +110,9 @@ private void appendFields(final Class<?> clazz) {
         for (final Field field : FieldUtils.getAllFields(clazz)) {
             if (accept(field)) {
                 try {
-                    diffBuilder.append(field.getName(), readField(field, left, 
true),
-                            readField(field, right, true));
+                    Object leftObject = readField(field, left, true);

Review Comment:
   <img width="1056" alt="image" 
src="https://user-images.githubusercontent.com/18818196/192087964-342f0e2d-57ab-4d45-8ade-51aa183c1482.png";>
   





Issue Time Tracking
-------------------

    Worklog Id:     (was: 811811)
    Time Spent: 2.5h  (was: 2h 20m)

> Cast FieldUtils.readField result to the recipient type
> ------------------------------------------------------
>
>                 Key: LANG-1692
>                 URL: https://issues.apache.org/jira/browse/LANG-1692
>             Project: Commons Lang
>          Issue Type: Task
>          Components: lang.reflect.*
>            Reporter: Zili Chen
>            Priority: Major
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to