aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2018-05-29 18:41:03 +0100
committerLuck <git@lucko.me>2018-05-29 18:41:03 +0100
commitfd01dfd3a461e36ab2966db7119732f739905912 (patch)
treec9f7e0db8f4959bfaf3dea381e9e9e1c1ca57d95 /common
parentbf72b1560340b48fc0958b3b2038ba13d49b7190 (diff)
downloadspark-fd01dfd3a461e36ab2966db7119732f739905912.tar.gz
spark-fd01dfd3a461e36ab2966db7119732f739905912.tar.bz2
spark-fd01dfd3a461e36ab2966db7119732f739905912.zip
Reorganise packages slightly
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/me/lucko/spark/common/CommandHandler.java5
-rw-r--r--common/src/main/java/me/lucko/spark/profiler/Sampler.java (renamed from common/src/main/java/com/sk89q/warmroast/Sampler.java)2
-rw-r--r--common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java (renamed from common/src/main/java/me/lucko/spark/common/SamplerBuilder.java)4
-rw-r--r--common/src/main/java/me/lucko/spark/profiler/StackNode.java (renamed from common/src/main/java/com/sk89q/warmroast/StackNode.java)2
-rw-r--r--common/src/main/java/me/lucko/spark/profiler/StackTraceNode.java (renamed from common/src/main/java/com/sk89q/warmroast/StackTraceNode.java)2
-rw-r--r--common/src/main/java/me/lucko/spark/profiler/ThreadDumper.java (renamed from common/src/main/java/com/sk89q/warmroast/ThreadDumper.java)2
6 files changed, 8 insertions, 9 deletions
diff --git a/common/src/main/java/me/lucko/spark/common/CommandHandler.java b/common/src/main/java/me/lucko/spark/common/CommandHandler.java
index 52cdbe1..8956fa8 100644
--- a/common/src/main/java/me/lucko/spark/common/CommandHandler.java
+++ b/common/src/main/java/me/lucko/spark/common/CommandHandler.java
@@ -2,10 +2,11 @@ package me.lucko.spark.common;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.google.gson.JsonObject;
-import com.sk89q.warmroast.Sampler;
-import com.sk89q.warmroast.ThreadDumper;
import me.lucko.spark.common.http.Bytebin;
+import me.lucko.spark.profiler.Sampler;
+import me.lucko.spark.profiler.SamplerBuilder;
+import me.lucko.spark.profiler.ThreadDumper;
import java.io.IOException;
import java.util.ArrayList;
diff --git a/common/src/main/java/com/sk89q/warmroast/Sampler.java b/common/src/main/java/me/lucko/spark/profiler/Sampler.java
index a141f82..bfad8d1 100644
--- a/common/src/main/java/com/sk89q/warmroast/Sampler.java
+++ b/common/src/main/java/me/lucko/spark/profiler/Sampler.java
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.sk89q.warmroast;
+package me.lucko.spark.profiler;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
diff --git a/common/src/main/java/me/lucko/spark/common/SamplerBuilder.java b/common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java
index a15bcf6..fe6ee20 100644
--- a/common/src/main/java/me/lucko/spark/common/SamplerBuilder.java
+++ b/common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java
@@ -1,8 +1,6 @@
-package me.lucko.spark.common;
+package me.lucko.spark.profiler;
import com.google.common.base.Preconditions;
-import com.sk89q.warmroast.Sampler;
-import com.sk89q.warmroast.ThreadDumper;
import java.util.Timer;
import java.util.concurrent.ExecutorService;
diff --git a/common/src/main/java/com/sk89q/warmroast/StackNode.java b/common/src/main/java/me/lucko/spark/profiler/StackNode.java
index 8fd0661..1e1ea63 100644
--- a/common/src/main/java/com/sk89q/warmroast/StackNode.java
+++ b/common/src/main/java/me/lucko/spark/profiler/StackNode.java
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.sk89q.warmroast;
+package me.lucko.spark.profiler;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
diff --git a/common/src/main/java/com/sk89q/warmroast/StackTraceNode.java b/common/src/main/java/me/lucko/spark/profiler/StackTraceNode.java
index 016d700..7207801 100644
--- a/common/src/main/java/com/sk89q/warmroast/StackTraceNode.java
+++ b/common/src/main/java/me/lucko/spark/profiler/StackTraceNode.java
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.sk89q.warmroast;
+package me.lucko.spark.profiler;
import com.google.gson.JsonObject;
diff --git a/common/src/main/java/com/sk89q/warmroast/ThreadDumper.java b/common/src/main/java/me/lucko/spark/profiler/ThreadDumper.java
index 6c25daf..17047fd 100644
--- a/common/src/main/java/com/sk89q/warmroast/ThreadDumper.java
+++ b/common/src/main/java/me/lucko/spark/profiler/ThreadDumper.java
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.sk89q.warmroast;
+package me.lucko.spark.profiler;
import java.lang.management.ThreadInfo;
import java.lang.management.ThreadMXBean;