Personal links set a destination for annoying cruft reasons. Easier to
ignore it when someone is generating a personal dim than fix that.
This commit is contained in:
parent
ec180f46f0
commit
6907350f00
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ public class PocketBuilder
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("properties cannot be null.");
|
throw new IllegalArgumentException("properties cannot be null.");
|
||||||
}
|
}
|
||||||
if (link.hasDestination())
|
if (link.linkType() != LinkType.PERSONAL && link.hasDestination())
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("link cannot have a destination assigned already.");
|
throw new IllegalArgumentException("link cannot have a destination assigned already.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue