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.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)