mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
indentation fix
This commit is contained in:
@@ -326,10 +326,10 @@ public class SolrLogger
|
|||||||
log.error("Failed DNS Lookup for IP:" + ip);
|
log.error("Failed DNS Lookup for IP:" + ip);
|
||||||
log.debug(e.getMessage(),e);
|
log.debug(e.getMessage(),e);
|
||||||
}
|
}
|
||||||
if(request.getHeader("User-Agent") != null)
|
if(request.getHeader("User-Agent") != null)
|
||||||
{
|
{
|
||||||
doc1.addField("userAgent", request.getHeader("User-Agent"));
|
doc1.addField("userAgent", request.getHeader("User-Agent"));
|
||||||
}
|
}
|
||||||
// Save the location information if valid, save the event without
|
// Save the location information if valid, save the event without
|
||||||
// location information if not valid
|
// location information if not valid
|
||||||
if(locationService != null)
|
if(locationService != null)
|
||||||
@@ -411,10 +411,10 @@ public class SolrLogger
|
|||||||
log.error("Failed DNS Lookup for IP:" + ip);
|
log.error("Failed DNS Lookup for IP:" + ip);
|
||||||
log.debug(e.getMessage(),e);
|
log.debug(e.getMessage(),e);
|
||||||
}
|
}
|
||||||
if(userAgent != null)
|
if(userAgent != null)
|
||||||
{
|
{
|
||||||
doc1.addField("userAgent", userAgent);
|
doc1.addField("userAgent", userAgent);
|
||||||
}
|
}
|
||||||
// Save the location information if valid, save the event without
|
// Save the location information if valid, save the event without
|
||||||
// location information if not valid
|
// location information if not valid
|
||||||
if(locationService != null)
|
if(locationService != null)
|
||||||
|
Reference in New Issue
Block a user