Skip to content

Commit

Permalink
Sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Mar 24, 2024
1 parent 162ca0b commit 0cfa4af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class ServiceMapDefault<K, V> implements ServiceMap<K, V> {

private Map<K, V> map;
public ServiceMapDefault() {
this.map = new HashMap<K, V>();
this.map = new HashMap<>();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ public class SimpleServiceMapRedisDefault implements SimpleServiceMap {

@ConfigProperty( name = "cache.ttl-ms", defaultValue = "600000" ) // 10 minutes
private long ttl;

@Inject
private RedisDataSource ds;

public SimpleServiceMapRedisDefault() {
log.debug( "SimpleServiceMapRedisDefault created!" );
}
Expand Down

0 comments on commit 0cfa4af

Please sign in to comment.