tinkerpop/frames — pull request #34 by BrynCooke (2013-03-18 20:50:42+00:00)
Title: Throw UnsupportedOperationException calling 'add' or 'set' methods using @Incidence@ or @Adjacency@ if direction is set to 'BOTH'.

Fix for https://github.com/tinkerpop/frames/issues/33
Code like this will now throw an UnsupportedOperationException:

```java
@Adjacency(label = "knows", direction=Direction.BOTH)
public void addKnowsPersonDirectionBothError(final Person person);

@Adjacency(label = "knows", direction=Direction.BOTH)
public void setKnowsPersonDirectionBothError(final Person person);

@Incidence(label = "created", direction=Direction.BOTH)
public Created addCreatedDirectionBothError(final Project project);
```

Previously this would have behaved in the same way as Direction.IN