Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6aecb37

Browse files
committed
Removing unused generic variable - code smell
1 parent57c1967 commit6aecb37

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/main/java/com/caching/LRUCache.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public void put(int key, T value) {
6363
System.out.println("Cache set to 0 capacity. No elements will be cached");
6464
}
6565

66-
TcurrentValue =cache.get(key);
6766
if (!cache.containsKey(key)) {
6867
cache.put(key,value);
6968
System.out.println("Adding new key:" +key +" to cache");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp