uschindler commented on a change in pull request #579: URL: https://github.com/apache/lucene/pull/579#discussion_r778990326
########## File path: lucene/core/src/java/org/apache/lucene/util/RamUsageEstimator.java ########## @@ -584,9 +585,13 @@ public static long shallowSizeOfInstance(Class<?> clazz) { final Class<?> target = clazz; final Field[] fields; try { - fields = + @SuppressWarnings("removal") Review comment: maybe extract method here in same way. Then the extra variable would not be needed and suppressforbidden works only on the call. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org