Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WS-17-18
assignment-tests
Commits
7c9809b1
Commit
7c9809b1
authored
Mar 02, 2018
by
Alexander
Browse files
Format RandomPicker
parent
de60a142
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/final_assignment/task_2/RandomPicker.java
View file @
7c9809b1
...
@@ -26,7 +26,7 @@ public class RandomPicker {
...
@@ -26,7 +26,7 @@ public class RandomPicker {
this
.
random
=
random
;
this
.
random
=
random
;
loadFileIntoList
(
COUNTRY_FILE
,
countries
);
loadFileIntoList
(
COUNTRY_FILE
,
countries
);
loadFileIntoList
(
NAME_FILE
,
names
);
loadFileIntoList
(
NAME_FILE
,
names
);
loadFileIntoList
(
SPORTS_FILE
,
sports
);
loadFileIntoList
(
SPORTS_FILE
,
sports
);
}
}
private
void
loadFileIntoList
(
String
file
,
List
<
String
>
list
)
{
private
void
loadFileIntoList
(
String
file
,
List
<
String
>
list
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment