1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-24 03:27:59 +01:00

Return Set instead of HashSet in UndecidedOmemoIdentityException

This commit is contained in:
Florian Schmaus 2019-02-18 11:39:49 +01:00
parent 825a5836eb
commit be10a6e850

View file

@ -18,6 +18,7 @@ package org.jivesoftware.smackx.omemo.exceptions;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.jivesoftware.smackx.omemo.internal.OmemoDevice;
@ -45,7 +46,7 @@ public class UndecidedOmemoIdentityException extends Exception {
*
* @return undecided devices
*/
public HashSet<OmemoDevice> getUndecidedDevices() {
public Set<OmemoDevice> getUndecidedDevices() {
return this.devices;
}