Skip to content

Commit

Permalink
Inline variables
Browse files Browse the repository at this point in the history
  • Loading branch information
yadavvi91 committed Sep 9, 2023
1 parent 8491c8e commit 993dfce
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/main/java/org/yadavvi/Main.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package org.yadavvi;

import java.io.InputStream;
import java.io.PrintStream;

public class Main {

private static String repeat(String text, int count) {
Expand All @@ -14,11 +11,8 @@ private static String mid(String text, int start, int length) {
}

public static void main(String[] args) {
InputStream in = System.in;
PrintStream out = System.out;

Dictionary dictionary = new FixedDictionary();
UI ui = new ConsoleUI(in, out);
UI ui = new ConsoleUI(System.in, System.out);

String word = dictionary.selectWord();
String matched = word;
Expand Down

0 comments on commit 993dfce

Please sign in to comment.