remove redundant null check
This commit is contained in:
parent
c49b28dc7b
commit
690ea97e40
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ public class AlbumServlet
|
|||
}
|
||||
|
||||
try {
|
||||
if (pathInfo != null && pathInfo.startsWith(basePrefix)) {
|
||||
if (pathInfo.startsWith(basePrefix)) {
|
||||
pathInfo = pathInfo.substring(basePrefix.length());
|
||||
} else if (pathInfo.equals("/search")) {
|
||||
handleSearch(req, res, (DirectoryEntry)resolveEntry("/"));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue