Skip to content

Commit 4c53123

Browse files
committed
Remove redundant check
1 parent b41e069 commit 4c53123

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

schemacrawler-ai-core/src/main/java/schemacrawler/tools/ai/tools/FunctionCallback.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import java.util.logging.Logger;
2020
import schemacrawler.schema.Catalog;
2121
import schemacrawler.tools.ai.functions.ExceptionFunctionReturn;
22-
import schemacrawler.tools.ai.functions.JsonFunctionReturn;
2322
import us.fatehi.utility.property.PropertyName;
2423
import us.fatehi.utility.string.StringFormat;
2524

@@ -64,10 +63,6 @@ public FunctionReturn execute(final String argumentsString, final Connection con
6463
String.format("Executing%n%s", toCallObject(argumentsString).toPrettyString()));
6564
}
6665

67-
if (functionDefinition == null) {
68-
return new JsonFunctionReturn();
69-
}
70-
7166
try {
7267
final P arguments = instantiateArguments(argumentsString);
7368

0 commit comments

Comments
 (0)