You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2023/02/28 12:07:24 UTC

[rocketmq-clients] 03/06: Remove useless code

This is an automated email from the ASF dual-hosted git repository.

aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git

commit d8961eb7041fd9ce9916d7aa056da40a43154051
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Tue Feb 28 14:13:59 2023 +0800

    Remove useless code
---
 csharp/examples/ProducerDelayMessageExample.cs       | 1 -
 csharp/examples/ProducerFifoMessageExample.cs        | 1 -
 csharp/examples/ProducerNormalMessageExample.cs      | 1 -
 csharp/examples/ProducerTransactionMessageExample.cs | 1 -
 csharp/examples/QuickStart.cs                        | 6 ------
 5 files changed, 10 deletions(-)

diff --git a/csharp/examples/ProducerDelayMessageExample.cs b/csharp/examples/ProducerDelayMessageExample.cs
index 72e2cadd..26c224bc 100644
--- a/csharp/examples/ProducerDelayMessageExample.cs
+++ b/csharp/examples/ProducerDelayMessageExample.cs
@@ -16,7 +16,6 @@
  */
 
 using System;
-using System.Collections.Generic;
 using System.Text;
 using System.Threading.Tasks;
 using NLog;
diff --git a/csharp/examples/ProducerFifoMessageExample.cs b/csharp/examples/ProducerFifoMessageExample.cs
index 1eeaa2e2..35c165f3 100644
--- a/csharp/examples/ProducerFifoMessageExample.cs
+++ b/csharp/examples/ProducerFifoMessageExample.cs
@@ -15,7 +15,6 @@
  * limitations under the License.
  */
 
-using System.Collections.Generic;
 using System.Text;
 using System.Threading;
 using System.Threading.Tasks;
diff --git a/csharp/examples/ProducerNormalMessageExample.cs b/csharp/examples/ProducerNormalMessageExample.cs
index 27b805ff..310defaf 100644
--- a/csharp/examples/ProducerNormalMessageExample.cs
+++ b/csharp/examples/ProducerNormalMessageExample.cs
@@ -15,7 +15,6 @@
  * limitations under the License.
  */
 
-using System.Collections.Generic;
 using System.Text;
 using System.Threading.Tasks;
 using NLog;
diff --git a/csharp/examples/ProducerTransactionMessageExample.cs b/csharp/examples/ProducerTransactionMessageExample.cs
index b19f95d7..b764481c 100644
--- a/csharp/examples/ProducerTransactionMessageExample.cs
+++ b/csharp/examples/ProducerTransactionMessageExample.cs
@@ -15,7 +15,6 @@
  * limitations under the License.
  */
 
-using System.Collections.Generic;
 using System.Text;
 using System.Threading.Tasks;
 using NLog;
diff --git a/csharp/examples/QuickStart.cs b/csharp/examples/QuickStart.cs
index c1915035..e31599e2 100644
--- a/csharp/examples/QuickStart.cs
+++ b/csharp/examples/QuickStart.cs
@@ -15,18 +15,12 @@
  * limitations under the License.
  */
 
-using System;
-using System.Threading.Tasks;
-using Org.Apache.Rocketmq;
-
 namespace examples
 {
     static class QuickStart
     {
         public static void Main()
         {
-            // Console.WriteLine(MetadataConstants.Instance.ClientVersion);
-
             // ProducerNormalMessageExample.QuickStart().Wait();
             // await ProducerFifoMessageExample.QuickStart();
             // await ProducerDelayMessageExample.QuickStart();