update api to support jdk 1.6

master
yihua.huang 2013-06-20 17:39:06 +08:00
parent d2020d8c01
commit 5cfdb10f81
3 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ public class FileCacheQueueScheduler implements Scheduler {
}
private String getFileName(String filename) {
return filePath + task.getUUID() + "/" + filename;
return filePath + task.getUUID() + filename;
}
@Override

View File

@ -70,7 +70,7 @@ public class SelectorFactory {
} else {
throw new UnsupportedOperationException();
}
} catch (ReflectiveOperationException e) {
} catch (Exception e) {
throw new IllegalArgumentException("init object error", e);
}
}

View File

@ -23,7 +23,7 @@
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.19</version>
<version>2.3.15</version>
</dependency>
</dependencies>