mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-25 17:36:55 +01:00
[DecryptionService] Stop caching
This commit is contained in:
parent
015e3fff18
commit
cd58f8b580
@ -50,16 +50,12 @@ import lombok.extern.java.Log;
|
||||
|
||||
@Log
|
||||
public final class DecryptionService {
|
||||
private static Map<NUSTitle, DecryptionService> instances = new HashMap<>();
|
||||
@Getter private final NUSTitle NUSTitle;
|
||||
|
||||
private boolean parallelizable = false;
|
||||
|
||||
public static DecryptionService getInstance(NUSTitle nustitle) {
|
||||
if (!instances.containsKey(nustitle)) {
|
||||
instances.put(nustitle, new DecryptionService(nustitle));
|
||||
}
|
||||
return instances.get(nustitle);
|
||||
return new DecryptionService(nustitle);
|
||||
}
|
||||
|
||||
private DecryptionService(NUSTitle nustitle) {
|
||||
|
Loading…
Reference in New Issue
Block a user