From 879e3152fc793b4628550615cbeb26edd5497954 Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 15 Dec 2019 16:33:45 +0000 Subject: [PATCH] Convert StringUtils to Kotlin --- .editorconfig | 4 +++ .idea/codeStyles/Project.xml | 6 ++++ util/pom.xml | 4 +++ .../java/dev/openrs2/util/StringUtils.java | 29 ------------------- .../main/java/dev/openrs2/util/StringUtils.kt | 20 +++++++++++++ 5 files changed, 34 insertions(+), 29 deletions(-) delete mode 100644 util/src/main/java/dev/openrs2/util/StringUtils.java create mode 100644 util/src/main/java/dev/openrs2/util/StringUtils.kt diff --git a/.editorconfig b/.editorconfig index f7ea641f38..2e04c11efc 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,10 @@ trim_trailing_whitespace = true max_line_length = 120 indent_style = tab +[*.kt] +indent_style = space +indent_size = 4 + [*.xml] indent_style = space indent_size = 2 diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index a95768fb54..aa60d1c615 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -36,6 +36,9 @@