Skip to content

Commit

Permalink
fix spelling mistakes (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanshengshui authored and cytnju committed Dec 31, 2019
1 parent 5ba99bf commit 7815d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/alipay/remoting/NamedThreadFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public NamedThreadFactory(String name) {
this(name, false);
}

public NamedThreadFactory(String preffix, boolean daemon) {
public NamedThreadFactory(String prefix, boolean daemon) {
SecurityManager s = System.getSecurityManager();
group = (s != null) ? s.getThreadGroup() : Thread.currentThread().getThreadGroup();
namePrefix = preffix + "-" + poolNumber.getAndIncrement() + "-thread-";
namePrefix = prefix + "-" + poolNumber.getAndIncrement() + "-thread-";
isDaemon = daemon;
}

Expand Down

0 comments on commit 7815d10

Please sign in to comment.