Mark the @NotNull

Former-commit-id: b509f289799e9dd3c9b0c3e6bdc5f0fa4621b767 [formerly 57f70ea2f2d5aecdd8d8025791ae702dbb7bd0a1]
Former-commit-id: 59cc004ac95b44281020decdfca79c40a2aee384
This commit is contained in:
Ghost_chu committed 2019-06-17 20:17:02 +08:00
1 parent d8fa06351e
commit fe5d9b987b
1 file changed
+2 -2
@@ -110,7 +110,7 @@ public class Util {
* @param map2 Map2
* @return Map1 match Map2
*/
public static boolean mapMatches(Map map1, Map map2) {
public static boolean mapMatches(@NotNull Map map1, @NotNull Map map2) {
for (Object obj : map1.keySet()) {
if (!map2.containsKey(obj))
return false;
@@ -127,7 +127,7 @@ public class Util {
* @param map2 Map2
* @return Map1 match Map2 and Map2 match Map1
*/
public static boolean mapDuoMatches(Map map1, Map map2) {
public static boolean mapDuoMatches(@NotNull Map map1, @NotNull Map map2) {
boolean result = mapMatches(map1, map2);
if (!result)
return false;