From 812ce898774652acfe6dbc640c740ac8962cc9a1 Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Fri, 5 Sep 2025 15:15:18 -0700 Subject: [PATCH 1/8] Remove word extra --- src/strings_ii/strip_extra_whitespace.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings_ii/strip_extra_whitespace.md b/src/strings_ii/strip_extra_whitespace.md index d9ac03a4..f50053d7 100644 --- a/src/strings_ii/strip_extra_whitespace.md +++ b/src/strings_ii/strip_extra_whitespace.md @@ -1,6 +1,6 @@ # Strip extra whitespace -If you have a `String` which might contains some extra "trailing" whitespace or extra "leading" +If you have a `String` which might contains some "trailing" whitespace or "leading" whitespace, you can remove that by using the `.strip` method. This will give a new `String` with both the leading and trailing whitespace removed. From e6fd7d56855a4db7e6e0add4d2acd94f1350c34d Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Fri, 5 Sep 2025 23:29:29 -0700 Subject: [PATCH 2/8] Fix grammar --- src/modules/requires.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/requires.md b/src/modules/requires.md index f3b37579..cc9dc938 100644 --- a/src/modules/requires.md +++ b/src/modules/requires.md @@ -32,7 +32,7 @@ module human { } ``` -These `requires` are not allowed form "cycles." +These `requires` are not allowed to form "cycles." This means that `cat` cannot require `dog` if `dog` also requires `cat`, indirectly or otherwise. From 66873f8d38bc428f97ab1fd236001f447b0c27fe Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Fri, 5 Sep 2025 23:42:26 -0700 Subject: [PATCH 3/8] Fix grammar --- src/lambdas/functional_interfaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lambdas/functional_interfaces.md b/src/lambdas/functional_interfaces.md index 23641d78..14fb8973 100644 --- a/src/lambdas/functional_interfaces.md +++ b/src/lambdas/functional_interfaces.md @@ -1,6 +1,6 @@ # Functional Interfaces -If an interface has only a one method that needs to be implemented we would call that a "functional interface."[^SAM] +If an interface has only one method that needs to be implemented we would call that a "functional interface."[^SAM] ```java interface Band { From d650e8fee1e84c4f86217989306475a37e4dc85d Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Sat, 6 Sep 2025 00:23:57 -0700 Subject: [PATCH 4/8] Fix grammar --- src/lambdas/functional_interfaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lambdas/functional_interfaces.md b/src/lambdas/functional_interfaces.md index 14fb8973..e59ab326 100644 --- a/src/lambdas/functional_interfaces.md +++ b/src/lambdas/functional_interfaces.md @@ -34,7 +34,7 @@ interface Band { } ``` -Functions take input and return an output. We call them functional interfaces because with you can treat them as being functions whose input and output are the same as that one method to be implemented. +Functions take input and return an output. We call them functional interfaces because you can treat them as being functions whose input and output are the same as that one method to be implemented. [^SAM]: You might also see these referred to as SAM interfaces. SAM for Single Abstract Method. \ No newline at end of file From 6c9b6fa4f0fdf28181bfa1a9e47a6d8b469130fd Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Sun, 7 Sep 2025 16:37:59 -0700 Subject: [PATCH 5/8] Fix tyo --- src/hardware/motherboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/motherboard.md b/src/hardware/motherboard.md index dbd69e0e..4a445d62 100644 --- a/src/hardware/motherboard.md +++ b/src/hardware/motherboard.md @@ -4,5 +4,5 @@ All of these parts, and the parts I didn't mention, are connected to a big circuit board called a "motherboard." The motherboard connects the CPU, RAM, and any hard drive(s) such that they -can "talk" to eachother. The details of how it does this aren't super important, so just imagine +can "talk" to each other. The details of how it does this aren't super important, so just imagine that a tiny wizard lives inside it. \ No newline at end of file From b112b820b8a4f6f68826ee29c154074c81290480 Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Tue, 9 Sep 2025 16:53:11 -0700 Subject: [PATCH 6/8] Fix typo --- src/compilation/modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compilation/modules.md b/src/compilation/modules.md index 5619095f..7ee68770 100644 --- a/src/compilation/modules.md +++ b/src/compilation/modules.md @@ -1,7 +1,7 @@ # Modules For reasons that will become apparent as we proceed, -it is best if all all the code you intend to share +it is best if all the code you intend to share is contained within a named module. This means at minimum your classes would need to be in packages From eb185d00f166b2828405d95c0d51f15c500f646c Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Tue, 9 Sep 2025 16:53:49 -0700 Subject: [PATCH 7/8] Fix typo --- src/compilation/running_compiled_code.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compilation/running_compiled_code.md b/src/compilation/running_compiled_code.md index 107ded53..01680836 100644 --- a/src/compilation/running_compiled_code.md +++ b/src/compilation/running_compiled_code.md @@ -18,8 +18,7 @@ you would run `java --class-path output chopin.Impromptu`. `--class-path` should be self-explanatory. It is the path where `java` will look for class files. -But if you do not have any classes in the unnamed package - which will -be hopefully be the case when you share code with others[^conflicts] - +But if you do not have any classes in the unnamed package - which will hopefully be the case when you share code with others[^conflicts] - you instead want to run your code like this. ``` From b2ea4d2cb3bd6841a0437a809e03340a6ecf672d Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Tue, 9 Sep 2025 16:54:47 -0700 Subject: [PATCH 8/8] Fix grammar --- src/packaging/jar_files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packaging/jar_files.md b/src/packaging/jar_files.md index b8000fd3..175857f3 100644 --- a/src/packaging/jar_files.md +++ b/src/packaging/jar_files.md @@ -6,7 +6,7 @@ are just ZIP files with a few special bits of "metadata." ZIP files are a common way of bundling a bunch of files up into one file.[^compression] You don't need to know exactly where this metadata goes or what all of it is for yet, -just that at a high level its all just files in a ZIP. +just that at a high level it's all just files in a ZIP. [^compression]: This bundling up also generally includes "compression," where the single file might be smaller than the combined sizes of its components. Most people don't