diff options
author | Simon Rettberg | 2018-04-24 22:03:25 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-24 22:03:25 +0200 |
commit | 9c50658f8a1a0b6ba231e7e3cf381635f6418c4d (patch) | |
tree | 8eed3c11f660098ea2a020578b3e48bc155979cd /dozentenmodul/src/main/java/org/openslx/dozmod/util | |
parent | [client] Use TConst virtualizer constants (diff) | |
download | tutor-module-9c50658f8a1a0b6ba231e7e3cf381635f6418c4d.tar.gz tutor-module-9c50658f8a1a0b6ba231e7e3cf381635f6418c4d.tar.xz tutor-module-9c50658f8a1a0b6ba231e7e3cf381635f6418c4d.zip |
[client] Remove dead code
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/util')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/util/MapHelper.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/util/MapHelper.java b/dozentenmodul/src/main/java/org/openslx/dozmod/util/MapHelper.java index 487a9ac6..0e92bc6d 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/MapHelper.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/MapHelper.java @@ -1,9 +1,7 @@ package org.openslx.dozmod.util; -import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; -import java.util.Set; import org.apache.log4j.Logger; @@ -34,15 +32,4 @@ public class MapHelper { return false; } - private static <T> Set<String> getAddedUsers(final Map<String, T> oldMap, final Map<String, T> newMap) { - Set<String> addedUsers = new HashSet<String>(newMap.keySet()); - addedUsers.removeAll(oldMap.keySet()); - return addedUsers; - } - - private static <T> Set<String> getRemovedUsers(final Map<String, T> oldMap, final Map<String, T> newMap) { - Set<String> removedUsers = new HashSet<String>(oldMap.keySet()); - removedUsers.removeAll(newMap.keySet()); - return removedUsers; - } } |