diff options
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java')
| -rw-r--r-- | src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java b/src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java index 9a9d0de..1e5fbd4 100644 --- a/src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java +++ b/src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java | |||
| @@ -49,7 +49,7 @@ public class AnswerTuple { | |||
| 49 | /** | 49 | /** |
| 50 | * It returns the first argument if its arity equals length, a new AnswerTuple otherwise. | 50 | * It returns the first argument if its arity equals length, a new AnswerTuple otherwise. |
| 51 | */ | 51 | */ |
| 52 | public static AnswerTuple getInstance(AnswerTuple extendedTuple, int length) { | 52 | public static AnswerTuple create(AnswerTuple extendedTuple, int length) { |
| 53 | if(length == extendedTuple.getArity()) return extendedTuple; | 53 | if(length == extendedTuple.getArity()) return extendedTuple; |
| 54 | else return new AnswerTuple(extendedTuple, length); | 54 | else return new AnswerTuple(extendedTuple, length); |
| 55 | } | 55 | } |
