minor style issues
This commit is contained in:
parent
88df2961bd
commit
08a8ff0a2e
2 changed files with 6 additions and 3 deletions
|
|
@ -272,7 +272,7 @@ public class AlbumServlet
|
|||
if (cimg != null) {
|
||||
long fileTs = file.lastModified();
|
||||
if (cimg.lastModified >= fileTs) {
|
||||
log.info("cache hit on " + key);
|
||||
// log.info("cache hit on " + key);
|
||||
} else {
|
||||
log.info(" " + key + " has changed so cache entry wil be refreshed");
|
||||
cimg = null;
|
||||
|
|
@ -460,7 +460,7 @@ public class AlbumServlet
|
|||
CachedImage cimg = thumbDb.load(key);
|
||||
if (cimg != null) {
|
||||
if (cimg.lastModified == file.lastModified()) {
|
||||
log.info("cache hit on " + key);
|
||||
// log.info("cache hit on " + key);
|
||||
} else {
|
||||
log.info(" " + key + " has changed so cache entry wil be refreshed");
|
||||
cimg = null;
|
||||
|
|
|
|||
|
|
@ -85,7 +85,10 @@
|
|||
</head>
|
||||
<body>
|
||||
<form id="search" action="/photo/album/search" method="get"><input name="q" value=""></form>
|
||||
<h1 id="titleBar" style="height: 32;"><img class="nav" width="26" height="32" src="/photo/assets/left-inactive.png"><img class="nav" width="26" height="32" src="/photo/assets/up-inactive.png"><img class="nav" width="26" height="32" src="/photo/assets/right-inactive.png"> </h1>
|
||||
<h1 id="titleBar" style="height: 32;"><!--
|
||||
--><img class="nav" width="26" height="32" src="/photo/assets/left-inactive.png"><!--
|
||||
--><img class="nav" width="26" height="32" src="/photo/assets/up-inactive.png"><!--
|
||||
--><img class="nav" width="26" height="32" src="/photo/assets/right-inactive.png"> </h1>
|
||||
<hr/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue