Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d064c92

Browse files
authored
Merge pull request #2 from swatantraj/patch-1
Error while setting builder variables
2 parents 5ffe92b + 2f9d6db commit d064c92

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)

AltStyle によって変換されたページ (->オリジナル) /