Kawai Wiki

Compare Revisions

Ignore whitespace Rev 167 → Rev 168

/trunk/src/main/java/org/kawai/action/FileAction.java
31,7 → 31,7
if (name.endsWith(".jpg") || name.endsWith(".gif") || name.endsWith(".jpeg") || name.endsWith(".png")) {
return "images";
}
if (name.endsWith(".jar") || name.endsWith(".zip") || name.endsWith(".tar") || name.endsWith(".gz") || name.endsWith(".bzip")) {
if (name.endsWith(".jar") || name.endsWith(".zip") || name.endsWith(".tar") || name.endsWith(".gz") || name.endsWith(".bzip") || name.endsWith(".war")) {
return "archive";
}
return "others";