Skip to content

Commit

Permalink
📰 Clear all class's unused import.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarokIce committed Aug 25, 2023
1 parent dedfbde commit 01e8892
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
5 changes: 0 additions & 5 deletions src/main/kotlin/club/someoneice/ovo/core/CoreRunner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ import club.someoneice.ovo.data.*
import club.someoneice.ovo.json.JsonReaderBean
import club.someoneice.ovo.mana.MMMCoreRunner
import club.someoneice.ovo.util.gson
import club.someoneice.togocup.recipebook.JarUtil
import club.someoneice.togocup.recipebook.JarUtil.UrlBuffered
import com.google.common.collect.Lists
import com.google.common.collect.Maps
import com.google.common.collect.Sets
import com.google.gson.reflect.TypeToken
import cpw.mods.fml.common.Loader
import java.io.File
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/club/someoneice/ovo/core/DataProcessor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DataProcessor(private val mod_id: String?) {
}

private fun infoProcessing() {
Info.modid = this.mod_id ?: OVOMain.modid
Info.modid = this.mod_id ?: OVOMain.MODID

OVOMain.Logger.info("Get modid: $mod_id !")
}
Expand Down
7 changes: 4 additions & 3 deletions src/main/kotlin/club/someoneice/ovo/core/OVOMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ import cpw.mods.fml.common.Loader
import cpw.mods.fml.common.Mod
import cpw.mods.fml.common.event.FMLInitializationEvent
import org.apache.logging.log4j.LogManager
import org.apache.logging.log4j.Logger

@Mod(modid = OVOMain.modid, version = OVOMain.VERSION, modLanguageAdapter = KotlinAdapter.className, dependencies = "after:manametalmod")
@Mod(modid = OVOMain.MODID, version = OVOMain.VERSION, modLanguageAdapter = KotlinAdapter.className, dependencies = "after:manametalmod")
class OVOMain {
companion object {
const val modid: String = "ovo"
const val MODID: String = "ovo"
const val VERSION: String = "0.1.2"
val ManaMetalModInstall: Boolean = Loader.isModLoaded("manametalmod")
val PineapplePsychicInstall: Boolean = Loader.isModLoaded("pineapple_psychic")

var Logger = LogManager.getLogger("WithJson")
var Logger: Logger = LogManager.getLogger("WithJson")
}

@Mod.EventHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package club.someoneice.ovo.json

import club.someoneice.json.JSON
import java.io.File
import java.lang.reflect.ParameterizedType

object Json5ReaderBean {
Expand Down
5 changes: 0 additions & 5 deletions src/main/kotlin/club/someoneice/ovo/json/JsonReaderBean.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@ package club.someoneice.ovo.json

import club.someoneice.ovo.core.OVOMain
import club.someoneice.ovo.util.gson
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import java.io.File
import java.io.FileInputStream
import java.io.IOError
import java.io.IOException
import java.nio.file.Files

class JsonReaderBean<T> {
/**
Expand Down

0 comments on commit 01e8892

Please sign in to comment.