Skip to content

Commit f71508d

Browse files
committed
Thinking in Java
1 parent 0aed892 commit f71508d

File tree

110 files changed

+516
-292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+516
-292
lines changed

.DS_Store

6 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

step1.Object/.idea/sonarlint/issuestore/1/6/16a4fee31beb0653a5c4260991d8e4e68398159d

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/1/7/17316bd50f99f22c542881a1eb0e84cdde7f4393

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/2/1/2108dc49c49fd04aef20c1435ae4b234dcf07f30

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/2/3/23416626ef60a93fdcbb4e78dd1b059c01ff477b

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/2/f/2f4d21d3a6866a4da995834cd6580cb794915356

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/3/d/3d930d3bc89cb338c08c9369504c3a0a46a0d919

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/4/8/482d2561f10d5707de4c80a583bba6b46b3f6c9d

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/4/9/4979483d6917c7f971cafaa2e0babab720a8c892

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/4/c/4c39638b2ca7897a830644069b5579ecb68036f7

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/5/1/514042ba2c80359eb1869081fb4f31f3725fc222

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/5/3/53702b90e32406287a73cd2ab0a75c80413eee3d

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/5/4/5487e2ae2feaae36703e7b717076129bea194772

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/6/f/6fc026e0cb85ecce8f0e88b3f0efba31def86501

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/7/9/7922cf5a7de67ca11e62c246b2b7cbf51af90529

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/7/d/7dbc8f2b6fe6459c7a830214f3eb13c7df5e5b04

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/9/5/95b51fd2784545de62cfe89c00b4d2937267020d

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/a/0/a0493a91533a1d887f7bb11664c8719136778d98

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/a/7/a7bf135497ebbc628d48be44f21f26b0b614f133

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/b/1/b19206a4ca10b0f7157c3f374e3bb13ad6cb20b9

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/c/4/c4f1444ba2ac434717a78664ffd5785d515f72e9

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/d/2/d2adf405afd37895b4e3f7f8008554b673480068

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/e/3/e3b75855918c59a5f820020721103833b3c4741c

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/e/c/eccb174b933e0401d9fb214af029f198bfbe10cf

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/f/8/f8102c9f44f1e6f3678e09ac33e8e732d7173fde

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/f/b/fb906244e63b5131a694db248dadab4faa0a068c

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step1.Object/.idea/sonarlint/issuestore/index.pb

+53-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

step1.Object/src/main/java/HomeMenu/player/Children.java

+7
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,12 @@ private boolean canIAdjustVolume(){
8383
}
8484

8585
public void turnVolumeUp(TvSet tvSet) {
86+
//
87+
if (!canIAdjustVolume()){
88+
narrator.say("I can not volume up ");
89+
return;
90+
}
91+
narrator.say("Please up value ");
92+
tvSet.turnVolumeUp();
8693
}
8794
}

step1.Object/src/main/java/HomeMenu/player/Mamy.java

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ private void waitAndListen(int seconds){
6565
}
6666
}
6767

68-
6968
public void watchOnTvSet(){
7069
//
7170
narrator.say("That's right, I'll listen to the radio.");

step1.Object/src/main/java/HomeMenu/player/TvSet.java

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public int getVolumeLevel(){
6363
//
6464
return volumeLevel;
6565
}
66+
6667
private void broadcasting() {
6768
//
6869
narrator.say("[Volume: " + volumeLevel + "] Oh, let me tell you today's news.");

step2.Chapter1/.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step2.Svetafor/.idea/gradle.xml renamed to step2.Chapter1/.idea/gradle.xml

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step2.Svetafor/.idea/misc.xml renamed to step2.Chapter1/.idea/misc.xml

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step2.Chapter1/.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step2.Chapter1/.idea/sonarIssues.xml

+49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step2.Chapter1/.idea/sonarlint/issuestore/2/f/2f16402fbbdd60d1b154d02a6cfe8e4038bd04ca

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step2.Chapter1/.idea/sonarlint/issuestore/4/1/41a6d7bf006693b4cc0e120cbaf200c40ddce14d

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step2.Chapter1/.idea/sonarlint/issuestore/4/5/453cc89f5dc530b93b831e17a3a40923906fab30

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

step2.Chapter1/.idea/sonarlint/issuestore/5/5/55f3cbaec2eb2fd7c3f83c6799ed8b6ac1eb5237

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)