summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EOKeyValueCodingAdditions.java
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-07-01 17:27:48 -0400
committerBenjamin Culkin <scorpress@gmail.com>2024-07-01 17:27:48 -0400
commit02bc52037e9ccccca672d6156d9c325c74fe28b3 (patch)
treedb022b83c90562f461f4a27412caa9936a8dfd04 /projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EOKeyValueCodingAdditions.java
parentc75d7dbd613a47b217499f7a856c469a8bc59e2a (diff)
Update a whole bunch of things
Yeah... not a great commit message. t.b.h, I could maybe've split the commit into more parts; but that would be quite a lot off effort and would have a pretty decent chance of at least one of the commits leaving the repository in a non-working state. For the future, will want to try and commit more often so there aren't these mega-commits where it's just "a whole bunch of stuff changed"
Diffstat (limited to 'projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EOKeyValueCodingAdditions.java')
-rw-r--r--projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EOKeyValueCodingAdditions.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EOKeyValueCodingAdditions.java b/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EOKeyValueCodingAdditions.java
index d1bb2c0..f0fdba1 100644
--- a/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EOKeyValueCodingAdditions.java
+++ b/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EOKeyValueCodingAdditions.java
@@ -47,7 +47,7 @@ public interface EOKeyValueCodingAdditions extends EOKeyValueCoding, NSKeyValueC
* NSKeyValueCodingAdditions, otherwise calls the method on
* DefaultImplementation.
*/
- public static void takeValuesFromDictionary(Object object, Map dictionary) {
+ public static void takeValuesFromDictionary(Object object, Map<String, Object> dictionary) {
if (object instanceof NSKeyValueCodingAdditions) {
((NSKeyValueCodingAdditions) object).takeValuesFromDictionary(dictionary);
} else {
@@ -75,7 +75,7 @@ public interface EOKeyValueCodingAdditions extends EOKeyValueCoding, NSKeyValueC
* NSKeyValueCodingAdditions, otherwise calls the method on
* DefaultImplementation.
*/
- public static NSDictionary valuesForKeys(Object object, List keys) {
+ public static NSDictionary<String, Object> valuesForKeys(Object object, List<String> keys) {
if (object instanceof NSKeyValueCodingAdditions) {
return ((NSKeyValueCodingAdditions) object).valuesForKeys(keys);
} else {
@@ -102,20 +102,20 @@ public interface EOKeyValueCodingAdditions extends EOKeyValueCoding, NSKeyValueC
* NSKeyValueCodingAdditions.
*/
public class DefaultImplementation extends NSKeyValueCodingAdditions.DefaultImplementation {
- public static void takeValuesFromDictionary(Object object, NSDictionary dictionary) {
+ public static void takeValuesFromDictionary(Object object, NSDictionary<String, Object> dictionary) {
throw new RuntimeException("Not implemented yet.");
}
- public static void takeValuesFromDictionaryWithMapping(Object object, NSDictionary dictionary,
- NSDictionary mapping) {
+ public static void takeValuesFromDictionaryWithMapping(Object object, NSDictionary<String, Object> dictionary,
+ NSDictionary<?, ?> mapping) {
throw new RuntimeException("Not implemented yet.");
}
- public static NSDictionary valuesForKeys(Object object, List keys) {
+ public static NSDictionary<String, Object> valuesForKeys(Object object, List<String> keys) {
throw new RuntimeException("Not implemented yet.");
}
- public static NSDictionary valuesForKeysWithMapping(Object object, Map mapping) {
+ public static NSDictionary<String, Object> valuesForKeysWithMapping(Object object, Map<String, Object> mapping) {
throw new RuntimeException("Not implemented yet.");
}
}