Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Lo1nt committed Dec 15, 2023
1 parent 5ccfd95 commit 7a6305f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public abstract class BeanIdMatchFilter extends Filter {
private List<String> excludeId;

private volatile boolean formatComplete;
protected Lock lock = new ReentrantLock();
protected Lock lock = new ReentrantLock();

@Override
public boolean needToLoad(FilterInvoker invoker) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class DynamicConfigManagerFactory {
/**
* 类锁
*/
private final static Lock classLock = new ReentrantLock();
private final static Lock classLock = new ReentrantLock();

/**
* slf4j Logger for this class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ public class RpcLookoutId {

private volatile Id providerConfigId;

private static final Lock classLock = new ReentrantLock();
private final Lock consumerConfigIdLock = new ReentrantLock();
private final Lock providerConfigIdLock = new ReentrantLock();
private static final Lock classLock = new ReentrantLock();
private final Lock consumerConfigIdLock = new ReentrantLock();
private final Lock providerConfigIdLock = new ReentrantLock();

/**
* create consumerId
*
Expand Down

0 comments on commit 7a6305f

Please sign in to comment.