Skip to content

Commit 2f9d6db

Browse files
authored
Error while setting builder variables
1 parent 5ffe92b commit 2f9d6db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

com/builder/Computer.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ public boolean isBluetoothEnabled(){
3535

3636
private Computer(ComputerBuilder builder){
3737

38-
this.ram = com.builder;
39-
this.hdd = com.builder;
38+
this.ram = builder.ram;
39+
this.hdd = builder.hdd;
40+
41+
this.isGraphicsCardEnable= builder.isGraphicsCardEnable;
42+
this.isBluetoothEnabled= builder.isBluetoothEnabled;
4043

41-
this.isGraphicsCardEnable = com.isGraphicsCardEnable;
42-
this.isBluetoothEnabled = com.isBluetoothEnabled;
4344
}
4445

4546

0 commit comments

Comments
 (0)