diff --git a/app/src/main/java/hatelace/memtypes/IntWord.java b/app/src/main/java/hatelace/memtypes/IntWord.java index a3265a4..75c00a8 100644 --- a/app/src/main/java/hatelace/memtypes/IntWord.java +++ b/app/src/main/java/hatelace/memtypes/IntWord.java @@ -23,8 +23,8 @@ public class IntWord extends Word { return new IntWord(value - (Integer) other.getValue()); } - public Word multiply(Word value) { - return new IntWord(this.value * (Integer) value.getValue()); + public Word multiply(Word other) { + return new IntWord(this.value * (Integer) other.getValue()); } public Word divide(Word other) { diff --git a/app/src/main/java/hatelace/memtypes/LongWord.java b/app/src/main/java/hatelace/memtypes/LongWord.java index a7bf783..f01ace2 100644 --- a/app/src/main/java/hatelace/memtypes/LongWord.java +++ b/app/src/main/java/hatelace/memtypes/LongWord.java @@ -23,8 +23,8 @@ public class LongWord extends Word { return new LongWord(value - (Long) other.getValue()); } - public Word multiply(Word value) { - return new LongWord(this.value * (Long) value.getValue()); + public Word multiply(Word other) { + return new LongWord(this.value * (Long) other.getValue()); } public Word divide(Word other) {