[ https://issues.apache.org/jira/browse/QPID-8653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751586#comment-17751586 ]
ASF subversion and git services commented on QPID-8653: ------------------------------------------------------- Commit 61e99c7b746a39374158436bb38a88e8cb72c76d in qpid-broker-j's branch refs/heads/main from Daniil Kirilyuk [ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=61e99c7b74 ] QPID-8653: [Broker-J] Code cleanup: broker-core - collection type arguments, collection factory methods, lambdas (#205) * QPID-8653: [Broker-J] Code cleanup: collection type arguments, collection factory methods, lambdas * Replaced singleton with Set.of() and Map.of() in ManagementModeStoreHandler.java * Replaced singleton with Set.of() and Map.of() in TopicParser.java * Replaced emptySet() by Set.of in TopicParser.java * Replaced singleton with Set.of() and Map.of() in BrokerImpl.java * Replaced singleton with Set.of() in Model.java * Replaced singleton by Set.of() in SystemConfigBootstrapModel.java * Replaced singleton by Map.of() in PrincipalDatabaseAuthenticationManager.java * Reverted changes in Model.java * Reverted changes in SystemConfigBootstrapModel.java --------- Co-authored-by: vavrtom <vavricka.to...@gmail.com> > [Broker-J] Code cleanup: collection type arguments, collection factory > methods, lambdas > --------------------------------------------------------------------------------------- > > Key: QPID-8653 > URL: https://issues.apache.org/jira/browse/QPID-8653 > Project: Qpid > Issue Type: Improvement > Components: Broker-J > Affects Versions: qpid-java-broker-9.0.0 > Reporter: Daniil Kirilyuk > Priority: Minor > Fix For: qpid-java-broker-9.0.1 > > > Following issues are covered with this JIRA: > 1. Explicit collection type arguments can be replaced with diamond notation > to shorten the code and to make it more readable. > 2. Empty collection methods should be refactored using java 11 factory > methods where appropriate. > 3. Anonymous types should be replaced with lambdas or method references where > appropriate. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org