aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/GenerateDictionaries.java
diff options
context:
space:
mode:
authorJason Mitchell <mitchej@gmail.com>2023-01-28 19:32:44 -0800
committerJason Mitchell <mitchej@gmail.com>2023-01-28 19:32:44 -0800
commit55f64675b42ac8d3c557cc850f78664bee006f6f (patch)
tree2afd26dd3d5e6f763119bc192b57c66a1a075922 /src/main/java/gtPlusPlus/GenerateDictionaries.java
parent0f5dfd01b877b6a1019e0671b88d07974aae68c0 (diff)
downloadGT5-Unofficial-55f64675b42ac8d3c557cc850f78664bee006f6f.tar.gz
GT5-Unofficial-55f64675b42ac8d3c557cc850f78664bee006f6f.tar.bz2
GT5-Unofficial-55f64675b42ac8d3c557cc850f78664bee006f6f.zip
[ci skip] spotlessApply with the new settings
Diffstat (limited to 'src/main/java/gtPlusPlus/GenerateDictionaries.java')
-rw-r--r--src/main/java/gtPlusPlus/GenerateDictionaries.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/gtPlusPlus/GenerateDictionaries.java b/src/main/java/gtPlusPlus/GenerateDictionaries.java
index 2298975454..0ac2a3241d 100644
--- a/src/main/java/gtPlusPlus/GenerateDictionaries.java
+++ b/src/main/java/gtPlusPlus/GenerateDictionaries.java
@@ -1,6 +1,5 @@
package gtPlusPlus;
-import gtPlusPlus.api.objects.random.XSTR;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
@@ -14,6 +13,8 @@ import java.util.HashSet;
import java.util.List;
import java.util.Random;
+import gtPlusPlus.api.objects.random.XSTR;
+
public class GenerateDictionaries {
public static void main(String[] args) {
@@ -144,16 +145,15 @@ public class GenerateDictionaries {
return newSize > oldSize;
}
}
- } catch (IOException e) {
- }
+ } catch (IOException e) {}
return false;
}
/**
- * Reads the contents of a file line by line to a List of Strings using the default encoding for the VM.
- * The file is always closed.
+ * Reads the contents of a file line by line to a List of Strings using the default encoding for the VM. The
+ * file is always closed.
*
- * @param file the file to read, must not be {@code null}
+ * @param file the file to read, must not be {@code null}
* @return the list of Strings representing each line in the file, never {@code null}
* @throws IOException in case of an I/O error
* @since 1.3