diff --git a/.gitignore b/.gitignore index 3343255..2ceb01b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ fitnesse/FitNesseRoot/files fitnesse/fitnesse-results target/ -*.iml *.swp *.zip dependency-reduced-pom.xml diff --git a/.idea/$PRODUCT_WORKSPACE_FILE$ b/.idea/$PRODUCT_WORKSPACE_FILE$ deleted file mode 100644 index 1f81458..0000000 --- a/.idea/$PRODUCT_WORKSPACE_FILE$ +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - Python 3.6 interpreter library - - - - - - - - 11 - - - - - - - - 1.8 - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml index b26911b..942f3a2 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -1,6 +1,7 @@ - + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 5be2610..972ec8d 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,8 +1,5 @@ - - IDE - - - - + \ No newline at end of file diff --git a/pom.xml b/pom.xml index eefb4b3..d5b6698 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ UTF-8 - 1.3.50 + 1.3.72 5.3.1 false @@ -201,4 +201,4 @@ - \ No newline at end of file + diff --git a/src/main/kotlin/token/TokenFactoryImpl.kt b/src/main/kotlin/token/TokenFactoryImpl.kt index a60c705..07b3208 100644 --- a/src/main/kotlin/token/TokenFactoryImpl.kt +++ b/src/main/kotlin/token/TokenFactoryImpl.kt @@ -20,9 +20,7 @@ class TokenFactoryImpl : TokenFactory { if (text.isEmpty()) throw EmptyTokenTextException(position) - val firstCharacter = text[0] - - return when (firstCharacter) { + return when (val firstCharacter = text[0]) { LEFT_PARENTHESIS -> LeftParenthesis(text, position) RIGHT_PARENTHESIS -> RightParenthesis(text, position) SINGLE_QUOTE -> QuoteMark(text, position) diff --git a/transcendental-lisp.iml b/transcendental-lisp.iml new file mode 100644 index 0000000..1391d23 --- /dev/null +++ b/transcendental-lisp.iml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file