mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Return Set instead of HashSet in UndecidedOmemoIdentityException
This commit is contained in:
parent
825a5836eb
commit
be10a6e850
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue