From a05b2fbeeee5d2a125fb89bd259042b534f12437 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 21 Apr 2024 22:12:21 +0200 Subject: [PATCH] Rename --- app/src/main/java/hatelace/memtypes/IntWord.java | 4 ++-- app/src/main/java/hatelace/memtypes/LongWord.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) {