From 249a9fe5504c53dc1bbff11a717c12dd33deebda Mon Sep 17 00:00:00 2001 From: Mrinal Dutta Date: Tue, 15 Oct 2019 18:35:16 +0530 Subject: [PATCH] Refactored plus method to add For naming consistency change the name of the plus method to be add. --- Calculator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Calculator.java b/Calculator.java index 6883a36..480c999 100644 --- a/Calculator.java +++ b/Calculator.java @@ -20,7 +20,7 @@ public class Calculator { * @return x + y * :) */ - public double plus(double x, double y) { + public double add(double x, double y) { return x + y; }