Skip to content

Commit bb5de2d

Browse files
Proxy. Minor changes
1 parent f0ddfc2 commit bb5de2d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/refactoring_guru/proxy/example/Demo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static void main(String[] args) {
1616

1717
}
1818

19-
public static long test(YoutubeDownloader downloader) {
19+
private static long test(YoutubeDownloader downloader) {
2020
long startTime = System.currentTimeMillis();
2121

2222
// User behavior in our app:

src/refactoring_guru/proxy/example/some_cool_media_library/Video.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public class Video {
55
public String title;
66
public String data;
77

8-
public Video(String id, String title) {
8+
Video(String id, String title) {
99
this.id = id;
1010
this.title = title;
1111
this.data = "Random video.";

src/refactoring_guru/strategy/example/OutputDemo.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ Enter password: amanda1985
2626
Data verification has been successful.
2727
Pay 6250 units or Continue shopping? P/C: p
2828
Paying 6250 using PayPal.
29-
Payment has been succeesfull.
29+
Payment has been successful.

0 commit comments

Comments
 (0)