Repository: incubator-taverna-language Updated Branches: refs/heads/master 8b9272530 -> 212d30b99
fixed typo in getAnnotion and added ignore annotation there was a typo in `PathAnnotation.getAnnotion ()` -- renamed that method to `PathAnnotation.getAnnotation()` keeping the old method for backwards compatibility. also added the `@JsonIgnore` annotation to both methods to ignore them during serialisation. Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/075ef0b0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/075ef0b0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/075ef0b0 Branch: refs/heads/master Commit: 075ef0b094390aedf326283b89dd777bbe3fddcc Parents: d8317cc Author: Martin Scharm <[email protected]> Authored: Mon Jul 13 15:04:11 2015 +0100 Committer: Martin Scharm <[email protected]> Committed: Mon Jul 13 15:04:11 2015 +0100 ---------------------------------------------------------------------- .../org/apache/taverna/robundle/manifest/PathAnnotation.java | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/075ef0b0/taverna-robundle/src/main/java/org/apache/taverna/robundle/manifest/PathAnnotation.java ---------------------------------------------------------------------- diff --git a/taverna-robundle/src/main/java/org/apache/taverna/robundle/manifest/PathAnnotation.java b/taverna-robundle/src/main/java/org/apache/taverna/robundle/manifest/PathAnnotation.java index e5e76e3..17783f7 100644 --- a/taverna-robundle/src/main/java/org/apache/taverna/robundle/manifest/PathAnnotation.java +++ b/taverna-robundle/src/main/java/org/apache/taverna/robundle/manifest/PathAnnotation.java @@ -67,7 +67,14 @@ public class PathAnnotation { } @Deprecated + @JsonIgnore public URI getAnnotion() { + return getAnnotation(); + } + + @Deprecated + @JsonIgnore + public URI getAnnotation() { return getUri(); }
