Skip to content

Commit

Permalink
Rename Group.name() to Group.groupName().
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvest committed Aug 6, 2018
1 parent ff6f225 commit 1a1a5e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions community/common/src/main/java/org/neo4j/scheduler/Group.java
Expand Up @@ -36,7 +36,7 @@ public final class Group
this.name = name;
}

public String name()
public String groupName()
{
return name;
}
Expand All @@ -47,7 +47,7 @@ public String name()
*/
public String threadName()
{
return "neo4j." + name() + "-" + threadCounter.incrementAndGet();
return "neo4j." + groupName() + "-" + threadCounter.incrementAndGet();
}

@Override
Expand Down
Expand Up @@ -34,7 +34,7 @@ final class GroupedDaemonThreadFactory implements ThreadFactory, ForkJoinPool.Fo
GroupedDaemonThreadFactory( Group group, ThreadGroup parentThreadGroup )
{
this.group = group;
threadGroup = new ThreadGroup( parentThreadGroup, group.name() );
threadGroup = new ThreadGroup( parentThreadGroup, group.groupName() );
}

@Override
Expand Down

0 comments on commit 1a1a5e4

Please sign in to comment.