minor style issues

This commit is contained in:
Knut Forkalsrud 2023-12-12 20:21:45 -08:00
parent 88df2961bd
commit 08a8ff0a2e
2 changed files with 6 additions and 3 deletions

View file

@ -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;

View file

@ -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">&nbsp;</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">&nbsp;</h1>
<hr/>
</body>
</html>