rafaelweingartner commented on a change in pull request #849:
URL: https://github.com/apache/commons-lang/pull/849#discussion_r789944501
##########
File path:
src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java
##########
@@ -385,6 +385,19 @@ public static String toStringExclude(final Object object,
final Collection<Strin
return toStringExclude(object, toNoNullStringArray(excludeFieldNames));
}
+ /**
+ * Builds a String for a toString method with only the selected field
names.
+ *
+ * @param object
+ * The object to "toString".
+ * @param selectedFieldNames
+ * The field names that must be on toString. Null selects
nothing.
Review comment:
in case of Null parameter, What is the output:
##########
File path:
src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java
##########
@@ -385,6 +385,19 @@ public static String toStringExclude(final Object object,
final Collection<Strin
return toStringExclude(object, toNoNullStringArray(excludeFieldNames));
}
+ /**
+ * Builds a String for a toString method with only the selected field
names.
+ *
+ * @param object
+ * The object to "toString".
+ * @param selectedFieldNames
+ * The field names that must be on toString. Null selects
nothing.
Review comment:
in case of Null parameter, What is the output?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]