1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-21 22:02:06 +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.Collection;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set;
import org.jivesoftware.smackx.omemo.internal.OmemoDevice; import org.jivesoftware.smackx.omemo.internal.OmemoDevice;
@ -45,7 +46,7 @@ public class UndecidedOmemoIdentityException extends Exception {
* *
* @return undecided devices * @return undecided devices
*/ */
public HashSet<OmemoDevice> getUndecidedDevices() { public Set<OmemoDevice> getUndecidedDevices() {
return this.devices; return this.devices;
} }