Skip to content

Commit f5d5eb1

Browse files
committed
remove unnecessary JExpr.lit() call
1 parent 4be09a9 commit f5d5eb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/internal/core/handler

‎AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/internal/core/handler/TraceHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void process(Element element, EComponentHolder holder) throws Exception {
8484
JBlock methodBody = method.body();
8585

8686
JInvocation isLoggableInvocation = getClasses().LOG.staticInvoke("isLoggable");
87-
isLoggableInvocation.arg(JExpr.lit(tag)).arg(logLevelFromInt(level, getClasses().LOG));
87+
isLoggableInvocation.arg(tag).arg(logLevelFromInt(level, getClasses().LOG));
8888

8989
JConditional ifStatement = methodBody._if(isLoggableInvocation);
9090

0 commit comments

Comments
 (0)