提交 4f750584 authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

improve variable naming

上级 e2ab04e4
......@@ -415,8 +415,8 @@ public class PageStore implements CacheWriter {
private void writeBack() {
ArrayList<CacheObject> list = cache.getAllChanged();
Collections.sort(list);
for (CacheObject aList : list) {
writeBack(aList);
for (CacheObject cacheObject : list) {
writeBack(cacheObject);
}
}
......
......@@ -150,8 +150,8 @@ public class FileUtils {
List<FilePath> list = FilePath.get(path).newDirectoryStream();
int len = list.size();
List<String> result = new ArrayList<>(len);
for (FilePath aList : list) {
result.add(aList.toString());
for (FilePath filePath : list) {
result.add(filePath.toString());
}
return result;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论