Skip to content

Fix resource leaks and warnings in Junit tests #1332

@smadasu

Description

@smadasu

Expected behavior

The Redis connections opened in unit tests should be closed properly. There are also lot of warnings in code which can be cleaned up easily

Actual behavior

The resources are not closed properly and may cause problems in running unit tests. Unnecessary suppresswarnings etc can be cleaned up

Steps to reproduce:

This is code enhancement

Redis / Jedis Configuration

Jedis version:

Latest unstable

Redis version:

Latest unstable

Java version:

1.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions