Minor cleanup from code review (comments, fixed a few exceptions);

This commit is contained in:
2025-03-03 07:49:57 -06:00
parent d4d20e2b20
commit 3a8bfe5f48
5 changed files with 7 additions and 4 deletions

View File

@ -114,7 +114,7 @@ public class InsertAction extends AbstractQActionFunction<InsertInput, InsertOut
if(!StringUtils.hasContent(insertInput.getTableName())) if(!StringUtils.hasContent(insertInput.getTableName()))
{ {
throw (new QException("Table name was not specified in update input")); throw (new QException("Table name was not specified in insert input"));
} }
QTableMetaData table = insertInput.getTable(); QTableMetaData table = insertInput.getTable();

View File

@ -435,7 +435,7 @@ public class SearchPossibleValueSourceAction
{ {
String message = "Error searching custom possible value source [" + input.getPossibleValueSourceName() + "]"; String message = "Error searching custom possible value source [" + input.getPossibleValueSourceName() + "]";
LOG.warn(message, e); LOG.warn(message, e);
throw (new QException(message)); throw (new QException(message, e));
} }
} }

View File

@ -1484,7 +1484,8 @@ public class QInstanceEnricher
/*************************************************************************** /***************************************************************************
** ** scan the classpath for classes in the specified package name which
** implement the QInstanceEnricherPluginInterface - any found get added
***************************************************************************/ ***************************************************************************/
public static void discoverAndAddPluginsInPackage(String packageName) throws QException public static void discoverAndAddPluginsInPackage(String packageName) throws QException
{ {

View File

@ -37,7 +37,8 @@ import com.kingsrook.qqq.backend.core.utils.ValueUtils;
/******************************************************************************* /*******************************************************************************
** ** possible-value source provider for the `Tables` PVS - a list of all tables
** in an application/qInstance.
*******************************************************************************/ *******************************************************************************/
public class TablesCustomPossibleValueProvider implements QCustomPossibleValueProvider<String> public class TablesCustomPossibleValueProvider implements QCustomPossibleValueProvider<String>
{ {

View File

@ -75,6 +75,7 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<!-- this was added to help make testcontainers work -->
<groupId>net.java.dev.jna</groupId> <groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId> <artifactId>jna</artifactId>
<version>5.7.0</version> <version>5.7.0</version>