lgoldstein commented on a change in pull request #119: Add support for openssh
host key certificates
URL: https://github.com/apache/mina-sshd/pull/119#discussion_r409321614
##########
File path:
sshd-common/src/main/java/org/apache/sshd/common/keyprovider/KeyPairProvider.java
##########
@@ -175,7 +185,7 @@ public KeyPair loadKey(SessionContext session, String
type) {
@Override
public Iterable<String> getKeyTypes(SessionContext session) {
// use a LinkedHashSet so as to preserve the order but avoid
duplicates
- Collection<String> types = new LinkedHashSet<>();
+ Set<String> types = new LinkedHashSet<>();
Review comment:
Please revert this type to a `Collection` as the original code...
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]