indentation fix

This commit is contained in:
Bram Luyten
2014-10-29 14:17:13 +01:00
parent 06f5d5b8b9
commit 7a9bd499bb

View File

@@ -326,10 +326,10 @@ public class SolrLogger
log.error("Failed DNS Lookup for IP:" + ip);
log.debug(e.getMessage(),e);
}
if(request.getHeader("User-Agent") != null)
{
doc1.addField("userAgent", request.getHeader("User-Agent"));
}
if(request.getHeader("User-Agent") != null)
{
doc1.addField("userAgent", request.getHeader("User-Agent"));
}
// Save the location information if valid, save the event without
// location information if not valid
if(locationService != null)
@@ -411,10 +411,10 @@ public class SolrLogger
log.error("Failed DNS Lookup for IP:" + ip);
log.debug(e.getMessage(),e);
}
if(userAgent != null)
{
doc1.addField("userAgent", userAgent);
}
if(userAgent != null)
{
doc1.addField("userAgent", userAgent);
}
// Save the location information if valid, save the event without
// location information if not valid
if(locationService != null)