This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 300c852  Add some Javadoc to silence a handful of IDE warnings
300c852 is described below

commit 300c8527a6b3a9dfbd4c9c103e2995a6e00ee779
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Aug 10 17:02:47 2020 +0100

    Add some Javadoc to silence a handful of IDE warnings
---
 .../tomcat/util/XReflectionIntrospectionUtils.java     | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/java/org/apache/tomcat/util/XReflectionIntrospectionUtils.java 
b/java/org/apache/tomcat/util/XReflectionIntrospectionUtils.java
index 88de048..021c90e 100644
--- a/java/org/apache/tomcat/util/XReflectionIntrospectionUtils.java
+++ b/java/org/apache/tomcat/util/XReflectionIntrospectionUtils.java
@@ -22,10 +22,28 @@ final class XReflectionIntrospectionUtils {
         return false;
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}
+     *
+     * @param o     Unused
+     * @param name  Unused
+     *
+     * @return Never returns normally
+     */
     static Object getPropertyInternal(Object o, String name) {
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}
+     *
+     * @param o                 Unused
+     * @param name              Unused
+     * @param value             Unused
+     * @param invokeSetProperty Unused
+     *
+     * @return Never returns normally
+     */
     static boolean setPropertyInternal(Object o, String name, String value, 
boolean invokeSetProperty) {
         throw new UnsupportedOperationException();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to