From 3cd4d5cc2c1a2bc8794927cd983a0736351d9917 Mon Sep 17 00:00:00 2001 From: spricoder Date: Wed, 3 Jan 2024 21:03:56 +0800 Subject: [PATCH] remove useless method --- .../java/cn/edu/tsinghua/iot/benchmark/conf/Config.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/src/main/java/cn/edu/tsinghua/iot/benchmark/conf/Config.java b/core/src/main/java/cn/edu/tsinghua/iot/benchmark/conf/Config.java index 70864e4fa..704acf448 100644 --- a/core/src/main/java/cn/edu/tsinghua/iot/benchmark/conf/Config.java +++ b/core/src/main/java/cn/edu/tsinghua/iot/benchmark/conf/Config.java @@ -408,12 +408,6 @@ public class Config { /** Sensor function */ private Map SENSOR_FUNCTION = new HashMap<>(); - public String getHomeDir() { - // When start benchmark with the script, the environment variables will be set. - // But in developer mode it will return another dir to find resources. - return System.getProperty(Constants.BENCHMARK_HOME, null); - } - /** init inner functions */ public void initInnerFunction() { FunctionXml xml = null;