[ https://issues.apache.org/jira/browse/GEODE-10115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17539035#comment-17539035 ]
ASF subversion and git services commented on GEODE-10115: --------------------------------------------------------- Commit 868e1ac1899eaef836dd52713dfce2a97abfd4dc in geode's branch refs/heads/develop from Jinmei Liao [ https://gitbox.apache.org/repos/asf?p=geode.git;h=868e1ac189 ] GEODE-10115: fix javadoc (#7698) > org.apache.geode.security.SecurityManager.init() declaration is inconsistent > with method documentation > ------------------------------------------------------------------------------------------------------ > > Key: GEODE-10115 > URL: https://issues.apache.org/jira/browse/GEODE-10115 > Project: Geode > Issue Type: Bug > Affects Versions: 1.14.4 > Reporter: Lynn Gallinat > Assignee: Jinmei Liao > Priority: Major > Labels: needsTriage, pull-request-available > > org.apache.geode.security.SecurityManager.init() does not include a throws > clause, but the method documentation says it throws > AuthenticationFailedException. > {noformat} > /** > * Initialize the SecurityManager. This is invoked when a cache is created > * > * @param securityProps the security properties obtained using a call to > * {@link DistributedSystem#getSecurityProperties} > * @throws AuthenticationFailedException if some exception occurs during the > initialization > */ > default void init(Properties securityProps) {}{noformat} > Either the throws documentation needs to be deleted, or a throws clause needs > to be added. -- This message was sent by Atlassian Jira (v8.20.7#820007)