Commit 5cfdb10f authored by yihua.huang's avatar yihua.huang

update api to support jdk 1.6

parent d2020d8c
...@@ -117,7 +117,7 @@ public class FileCacheQueueScheduler implements Scheduler { ...@@ -117,7 +117,7 @@ public class FileCacheQueueScheduler implements Scheduler {
} }
private String getFileName(String filename) { private String getFileName(String filename) {
return filePath + task.getUUID() + "/" + filename; return filePath + task.getUUID() + filename;
} }
@Override @Override
......
...@@ -70,7 +70,7 @@ public class SelectorFactory { ...@@ -70,7 +70,7 @@ public class SelectorFactory {
} else { } else {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
} catch (ReflectiveOperationException e) { } catch (Exception e) {
throw new IllegalArgumentException("init object error", e); throw new IllegalArgumentException("init object error", e);
} }
} }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<dependency> <dependency>
<groupId>org.freemarker</groupId> <groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId> <artifactId>freemarker</artifactId>
<version>2.3.19</version> <version>2.3.15</version>
</dependency> </dependency>
</dependencies> </dependencies>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment