From 5e604a5b0a1d4eb1d27fce58b320d885817b955b Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Mon, 16 Nov 2015 21:01:38 +0100 Subject: [PATCH] Minor: fix bug in JavaCommercialPaper --- src/contracts/JavaCommercialPaper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contracts/JavaCommercialPaper.java b/src/contracts/JavaCommercialPaper.java index 1655af6042..0aa283789e 100644 --- a/src/contracts/JavaCommercialPaper.java +++ b/src/contracts/JavaCommercialPaper.java @@ -50,14 +50,14 @@ public class JavaCommercialPaper implements Contract { } public static class Commands implements core.Command { - public static class Move { + public static class Move extends Commands { @Override public boolean equals(Object obj) { return obj instanceof Move; } } - public static class Redeem { + public static class Redeem extends Commands { @Override public boolean equals(Object obj) { return obj instanceof Redeem;