Fixed code formatting and removed fully qualified com.riiablo.codec.COF references

This commit is contained in:
Collin Smith 2020-06-13 01:25:19 -07:00
parent 6be70a3667
commit 07d98015fd

View File

@ -1,23 +1,21 @@
package com.riiablo.codec;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import org.apache.commons.collections4.Trie;
import org.apache.commons.collections4.trie.PatriciaTrie;
import org.apache.commons.io.IOUtils;
import org.apache.commons.io.input.BoundedInputStream;
import org.apache.commons.lang3.builder.ToStringBuilder;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.GdxRuntimeException;
import com.badlogic.gdx.utils.StreamUtils;
import org.apache.commons.collections4.Trie;
import org.apache.commons.collections4.trie.PatriciaTrie;
import org.apache.commons.io.IOUtils;
import org.apache.commons.io.input.BoundedInputStream;
import org.apache.commons.lang3.builder.ToStringBuilder;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import com.riiablo.codec.COF;
import com.riiablo.util.BufferUtils;
public class COFD2 {
@ -26,7 +24,7 @@ public class COFD2 {
private static final boolean DEBUG_ENTRIES = DEBUG && false;
Array<Entry> entries;
Trie<String, com.riiablo.codec.COF> trie;
Trie<String, COF> trie;
private COFD2(Array<Entry> entries) {
this.entries = entries;
@ -41,7 +39,7 @@ public class COFD2 {
return entries.size;
}
public com.riiablo.codec.COF lookup(String cof) {
public COF lookup(String cof) {
return trie.get(cof.toLowerCase());
}