From 2f9d6dbdc198e333c4b03902104980d46e2adfce Mon Sep 17 00:00:00 2001 From: swatantraj Date: Thu, 6 Sep 2018 20:20:10 +0530 Subject: [PATCH] Error while setting builder variables --- com/builder/Computer.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/com/builder/Computer.java b/com/builder/Computer.java index 0b7955b..b58aea4 100644 --- a/com/builder/Computer.java +++ b/com/builder/Computer.java @@ -35,11 +35,12 @@ public boolean isBluetoothEnabled(){ private Computer(ComputerBuilder builder){ - this.ram = com.builder; - this.hdd = com.builder; + this.ram = builder.ram; + this.hdd = builder.hdd; + + this.isGraphicsCardEnable= builder.isGraphicsCardEnable; + this.isBluetoothEnabled= builder.isBluetoothEnabled; - this.isGraphicsCardEnable = com.isGraphicsCardEnable; - this.isBluetoothEnabled = com.isBluetoothEnabled; }