Skip to content

Commit

Permalink
Fix issue with unrecognized commands (#483) (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers authored Jun 11, 2024
1 parent 3be1029 commit dbd4616
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/net/KNet/KNetCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,10 @@
*/

using MASES.CLIParser;
using Org.Apache.Kafka.Clients.Consumer;
using Org.Apache.Kafka.Clients.Producer;
using Org.Apache.Kafka.Common;
using Org.Apache.Kafka.Common.Errors;
using Org.Apache.Kafka.Connect.Errors;
using Org.Apache.Kafka.Streams.Errors;
using System;
using System.Collections.Generic;
using System.IO;
using MASES.JNet;
using Org.Apache.Kafka.Common.Config;

namespace MASES.KNet
{
Expand Down Expand Up @@ -149,7 +142,7 @@ protected override string[] ProcessCommandLine()
/// <exception cref="ArgumentException">If <paramref name="className"/> does not have a corresponding implemented <see cref="Type"/></exception>
protected virtual void PrepareMainClassToRun(string className)
{
if (!string.IsNullOrEmpty(className)) return;
if (string.IsNullOrEmpty(className)) return;
Type type = null;
foreach (var item in typeof(KNetCore<>).Assembly.ExportedTypes)
{
Expand Down

0 comments on commit dbd4616

Please sign in to comment.