projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'release-0.4'
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
freenet
/
wot
/
Identity.java
diff --git
a/src/main/java/net/pterodactylus/sone/freenet/wot/Identity.java
b/src/main/java/net/pterodactylus/sone/freenet/wot/Identity.java
index
41540e5
..
1cf1644
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/freenet/wot/Identity.java
+++ b/
src/main/java/net/pterodactylus/sone/freenet/wot/Identity.java
@@
-85,13
+85,15
@@
public interface Identity {
/**
* Retrieves the trust that this identity receives from the given own
/**
* Retrieves the trust that this identity receives from the given own
- * identity.
+ * identity. If this identity is not in the own identity’s trust tree, a
+ * {@link Trust} is returned that has all its elements set to {@code null}.
+ * If the trust can not be retrieved, {@code null} is returned.
*
* @param ownIdentity
* The own identity to get the trust for
*
* @param ownIdentity
* The own identity to get the trust for
- * @return The trust assigned to this identity
- *
@throws WebOfTrustException
+ * @return The trust assigned to this identity
, or {@code null} if the trust
+ *
could not be retrieved
*/
*/
- public Trust getTrust(OwnIdentity ownIdentity)
throws WebOfTrustException
;
+ public Trust getTrust(OwnIdentity ownIdentity);
}
}