Skip to content

Commit

Permalink
refactor: unbindResource 메서드는 반환값이 존재하지 않는다.
Browse files Browse the repository at this point in the history
  • Loading branch information
wonyongChoi05 committed Oct 12, 2023
1 parent 5c9cd08 commit da70f23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public static void bindResource(DataSource key, Connection value) {
resource.put(key, value);
}

public static Connection unbindResource(DataSource key) {
public static void unbindResource(DataSource key) {
final Map<DataSource, Connection> resource = resources.get();
return resource.remove(key);
resource.remove(key);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.springframework.transaction.support;

class TransactionSynchronizationManagerTest {


}

0 comments on commit da70f23

Please sign in to comment.