Skip to content

Commit

Permalink
[misc] code style correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jan 23, 2025
1 parent 39ee017 commit 63991b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (c) 2015-2025 MariaDB Corporation Ab
package org.mariadb.jdbc.plugin.credential;

import java.sql.SQLException;
import java.util.ServiceLoader;
import org.mariadb.jdbc.Driver;
import org.mariadb.jdbc.plugin.CredentialPlugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ void getObjectBlob(ResultSet rs) throws Exception {
assertStreamEquals(new MariaDbBlob("1".getBytes()), rs.getBlob(2));
assertStreamEquals(new MariaDbBlob("1".getBytes()), rs.getBlob("t2alias"));
assertFalse(rs.wasNull());
assertStreamEquals(
new MariaDbBlob("some🌟".getBytes(StandardCharsets.UTF_8)), rs.getBlob(3));
assertStreamEquals(new MariaDbBlob("some🌟".getBytes(StandardCharsets.UTF_8)), rs.getBlob(3));
assertFalse(rs.wasNull());
assertNull(rs.getObject(4));
assertTrue(rs.wasNull());
}

@Test
void getObjectType() throws Exception {
getObjectType(get());
Expand Down

0 comments on commit 63991b7

Please sign in to comment.