mirror of
https://github.com/ZhigalskiiIvan/TextStatisticsProject.git
synced 2024-12-22 21:01:52 +03:00
fixed mistake in reading from file method
This commit is contained in:
parent
bfcb7a1483
commit
ef7b49b301
@ -176,6 +176,7 @@ object TextReader {
|
||||
println("Input a name of a text:")
|
||||
val name = readln()
|
||||
|
||||
println("Input path to file:")
|
||||
val contentsFile: File
|
||||
|
||||
pathReadCycle@ while (true) {
|
||||
@ -436,8 +437,8 @@ class ReturnException : Exception() {
|
||||
|
||||
class InvalidInputTypeException : Exception() {
|
||||
/**
|
||||
* Custom exception being thrown if input can't be converted
|
||||
* to the requested type.
|
||||
* Custom exception being thrown if input can't be converted
|
||||
* to the requested type.
|
||||
*/
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user