Skip to content

Commit

Permalink
Fix indent to use tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
pledbrook committed Feb 6, 2013
1 parent 7ddda2e commit d7d46c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ProfilerGrailsPlugin.groovy
Expand Up @@ -81,9 +81,9 @@ long requests, controller actions and service method calls take."""
for (serviceClass in application.serviceClasses) {
String serviceName = serviceClass.propertyName
BeanConfiguration beanConfig = springConfig.getBeanConfig(serviceName)
if (!beanConfig) {
continue
}
if (!beanConfig) {
continue
}

// If we're dealing with a TransactionProxyFactoryBean,
// then we can add the profiler method interceptor directly to it.
Expand Down
4 changes: 2 additions & 2 deletions src/java/com/linkedin/grails/profiler/LoggingAppender.java
Expand Up @@ -44,7 +44,7 @@ public void setPadding(String padding) {
* i.e. what System.currentTimeMillis() returns.
*/
public void logEntry(String label, Class<?> clazz, String name, long entryTime) {
clazz = ClassUtil.getRealClass(clazz);
clazz = ClassUtil.getRealClass(clazz);
Logger log = LoggerFactory.getLogger(LOGGER_NAME);

// Get the identifier for this log entry.
Expand Down Expand Up @@ -72,7 +72,7 @@ public void logEntry(String label, Class<?> clazz, String name, long entryTime)
* i.e. what System.currentTimeMillis() returns.
*/
public void logExit(String label, Class<?> clazz, String name, long exitTime) {
clazz = ClassUtil.getRealClass(clazz);
clazz = ClassUtil.getRealClass(clazz);
Logger log = LoggerFactory.getLogger(LOGGER_NAME);

// Descrease the indent for this log message.
Expand Down
Expand Up @@ -37,7 +37,7 @@ public Object invoke(MethodInvocation methodInvocation) throws Throwable {
}

// Log method entry.
Class<?> clazz = ClassUtil.getRealClass(methodInvocation.getThis().getClass());
Class<?> clazz = ClassUtil.getRealClass(methodInvocation.getThis().getClass());
profiler.logEntry(clazz, methodName);

try {
Expand Down

0 comments on commit d7d46c6

Please sign in to comment.