Skip to content

Commit

Permalink
[chore] log 지우기 #157
Browse files Browse the repository at this point in the history
  • Loading branch information
정상훈 authored and 정상훈 committed Sep 1, 2023
1 parent 1f0b0c0 commit 57637ba
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.Arrays;
import java.util.List;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
Expand All @@ -22,7 +21,6 @@
@Component
@Order(Ordered.HIGHEST_PRECEDENCE + 1)
@RequiredArgsConstructor
@Slf4j
public class DistributedLockAop {
private final LockManager lockManager;

Expand All @@ -47,9 +45,7 @@ private String getKey(ProceedingJoinPoint joinPoint, DistributedLock distributed
private String createDynamicKey(
String[] methodParameterNames, Object[] methodArgs, String[] identifiers) {
List<String> resultList = new ArrayList<>();
Arrays.stream(methodParameterNames).forEach(a -> log.info(a));
for (String identifier : identifiers) {
log.info(identifier);
int indexOfKey = Arrays.asList(methodParameterNames).indexOf(identifier);
Object arg = methodArgs[indexOfKey];
if (arg == null) {
Expand Down

0 comments on commit 57637ba

Please sign in to comment.