lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [24/49] lucenenet git commit: Fixed String.Format bug in Core.Util.NamedThreadFactory
Date Sun, 02 Oct 2016 10:16:55 GMT
Fixed String.Format bug in Core.Util.NamedThreadFactory


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/e659c993
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/e659c993
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/e659c993

Branch: refs/heads/master
Commit: e659c99328f5cfd7089166ec6ed30fd98294905e
Parents: 3b18a74
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Sep 11 02:23:03 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Sep 11 02:23:03 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Util/NamedThreadFactory.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e659c993/src/Lucene.Net.Core/Util/NamedThreadFactory.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/NamedThreadFactory.cs b/src/Lucene.Net.Core/Util/NamedThreadFactory.cs
index 08cc319..7e9b27a 100644
--- a/src/Lucene.Net.Core/Util/NamedThreadFactory.cs
+++ b/src/Lucene.Net.Core/Util/NamedThreadFactory.cs
@@ -31,7 +31,7 @@ namespace Lucene.Net.Util
     {
         private static int ThreadPoolNumber = 1;
         private int ThreadNumber = 1;
-        private const string NAME_PATTERN = "%s-%d-thread";
+        private const string NAME_PATTERN = "{0}-{1}-thread";
         private readonly string ThreadNamePrefix;
 
         /// <summary>


Mime
View raw message