Skip to content

Commit

Permalink
#128: Fixed warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
redcatbear committed Mar 11, 2024
1 parent a3a5f79 commit bd3fdc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/changes/changes_3.5.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Users are recommended to upgrade to version 1.26, which fixes the issue.
- https://lists.apache.org/thread/ch5yo2d21p7vlqrhll9b17otbyq4npfg
- https://www.openwall.com/lists/oss-security/2024/02/19/2

## Security
## Bugfixes

* #128: CVE-2024-25710: org.apache.commons:commons-compress:jar:1.24.0:test
* #130: CVE-2024-1597: org.postgresql:postgresql:jar:42.7.0:test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public enum Language {
*
* @deprecated Newer versions of Exasol 7.1 don't support Python 2 any more. Migrate to {@link #PYTHON3}.
*/
PYTHON,
@Deprecated PYTHON,
/** Python 3 language. */
PYTHON3,
/** Lua language. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.same;
Expand Down Expand Up @@ -70,7 +71,7 @@ void testCloseDropsSchema() {
// [utest -> dsn~dropping-objects-via-AutoClosable~1]
void testTryWithResourcesDropsSchema() {
try (final ExasolSchema schema = testee()) {
// nothing to do
assertNotNull(schema); // Check for not null and get rid of compiler warning.
}
verify(writerMock).drop(any(ExasolSchema.class));
}
Expand Down

0 comments on commit bd3fdc9

Please sign in to comment.