Skip to content

Commit d8d4a94

Browse files
Merge pull request rage#293 from utkarsh1311/master
Update 1-handling-collections-as-streams.md
2 parents cb71e8f + 4946ad7 commit d8d4a94

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

data/part-10/1-handling-collections-as-streams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ ArrayList<Integer> positives = values.stream()
668668
.filter(value -> value > 0)
669669
.collect(Collectors.toCollection(ArrayList::new));
670670

671-
positiiviset.stream()
671+
positives.stream()
672672
.forEach(value -> System.out.println(value));
673673
```
674674

data/part-13/4-launch-parameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ import javafx.application.Application;
120120
import javafx.application.Application.Parameters;
121121
import javafx.stage.Stage;
122122

123-
public class JavaFxApplicationextends Application {
123+
public class JavaFxApplication extends Application {
124124

125125
@Override
126126
public void start(Stage window) {
@@ -163,7 +163,7 @@ import javafx.application.Application;
163163
public class Main {
164164

165165
public static void main(String[] args) {
166-
Application.launch(JavaFxSovellus.class,
166+
Application.launch(JavaFxApplication.class,
167167
"--organization=Once upon a time",
168168
"--course=Title");
169169
}

data/part-14/2-multimedia-in-programs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Here we expect that the file `humming.jpg` exists and is located at the root of
163163
In the example we use an image by [Linda Tanner](https://www.flickr.com/photos/15323831@N05) from [http://www.freestockphotos.biz/stockphoto/17874](http://www.freestockphotos.biz/stockphoto/17874). The image has a [Creative Commons CC BY 2.0](https://creativecommons.org/licenses/by/2.0/) lisence.
164164

165165
<!-- ImageView-olio tarjoaa joukon menetelmiä imagen (yksinkertaiseen käsittelyyn). Kuvaa voi muunmuassa kääntää, sen kokoa voi muuttaa, ja sitä voi siirtää ruudulla. Alla olevassa esimerkissä image on käännetty ympäri, sen koko on puolitettu, ja sitä on siirretty hieman oikealle. -->
166-
ImageView object has a punch of methods available for (simple) image processing tasks. We can for example change the size of an image, flip it around or move it on the screen.
166+
ImageView object has a bunch of methods available for (simple) image processing tasks. We can for example change the size of an image, flip it around or move it on the screen.
167167
Below we have flipped the image, halved its size and moved it a bit to the right.
168168

169169

0 commit comments

Comments
 (0)