Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjulaGanepola committed Aug 29, 2024
2 parents d272661 + 3c70795 commit e0b3c76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/github/mapepire_ibmi/Pool.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class Pool {
*
* @param options The options for configuring the connection pool.
*/
Pool(PoolOptions options) {
public Pool(PoolOptions options) {
this.options = options;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/mapepire_ibmi/SqlJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ public CompletableFuture<SetConfigResult> setTraceConfig(ServerTraceDest dest, S
* @param cmd The CL command.
* @return A new Query instance for the command.
*/
public <T> Query<T> clcommand(String cmd) {
public <T> Query<T> clCommand(String cmd) {
QueryOptions options = new QueryOptions();
options.setIsClCommand(true);
return new Query(this, cmd, options);
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/io/github/mapepire_ibmi/CLTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void validCLCommand() throws Exception {
SqlJob job = new SqlJob();
job.connect(MapepireTest.getCreds()).get();

Query<Object> query = job.clcommand("WRKACTJOB");
Query<Object> query = job.clCommand("WRKACTJOB");
QueryResult<Object> result = query.execute().get();
job.close();

Expand All @@ -28,7 +28,7 @@ void invalidCLCommand() throws Exception {
SqlJob job = new SqlJob();
job.connect(MapepireTest.getCreds()).get();

Query<Object> query = job.clcommand("INVALIDCOMMAND");
Query<Object> query = job.clCommand("INVALIDCOMMAND");
QueryResult<Object> result = query.execute().get();
job.close();

Expand Down

0 comments on commit e0b3c76

Please sign in to comment.