for (String f : css) {
Resources.moveResource(cssPath + f, file.getParent() + File.separator + offlineFolderParent + File.separator + "css" + File.separator + f);
}</BUG>
for (String f : js) {
<BUG>Writer.getInstance().write(new File(file.getParent() + File.separator + offlineFolderParent + File.separator + "js" + File.separator + f), Resources.getText(jsPath + f));
}</BUG>
}
@Override
public synchronized void flush() {
if (terminated) {

for (String f : css) {
Resources.moveResource(cssPath + f, destPath + "css" + File.separator + f);
}
for (String f : js) {
Writer.getInstance().write(new File(destPath + "js" + File.separator + f), Resources.getText(jsPath + f));
}
}
@Override
public synchronized void flush() {
if (terminated) {
