ctubbsii commented on code in PR #2552:
URL: https://github.com/apache/thrift/pull/2552#discussion_r866995675


##########
lib/java/src/main/java/org/apache/thrift/meta_data/FieldMetaData.java:
##########
@@ -103,8 +105,12 @@ public static Map<? extends TFieldIdEnum, FieldMetaData> 
getStructMetaDataMap(
                 + sClass.getName()
                 + ", message: "
                 + e.getMessage());
+      } catch (ReflectiveOperationException e) {

Review Comment:
   I think this could be cleaned up further. This ReflectiveOperationException 
also replaces the above two individual catch clauses, which are both 
ReflectiveOperationExceptions.



-- 
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]

Reply via email to