[java-identity-provider COMMIT] in /trunk/idp-consent/src: main/java/net/shibboleth/idp/consent/flow/storage/UpdateSt...

noreply at shibboleth.net noreply at shibboleth.net
Mon Dec 15 21:03:09 EST 2014


Author: tzeller
Date: Mon Dec 15 21:03:09 2014
New Revision: 7112

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7112&view=rev
Log:
IDP-499 Delete first try at secondary index implementation.

Modified:
    trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/flow/storage/UpdateStorageIndex.java
    trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/storage/StorageIndex.java
    trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/storage/StorageIndexSerializer.java
    trunk/idp-consent/src/test/java/net/shibboleth/idp/consent/ConsentTestingSupport.java
    trunk/idp-consent/src/test/java/net/shibboleth/idp/consent/flow/storage/UpdateStorageIndexTest.java
    trunk/idp-consent/src/test/java/net/shibboleth/idp/consent/storage/StorageIndexSerializerTest.java
    trunk/idp-consent/src/test/java/net/shibboleth/idp/consent/storage/StorageIndexTest.java

Modified: trunk/idp-consent/src/test/java/net/shibboleth/idp/consent/ConsentTestingSupport.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-consent/src/test/java/net/shibboleth/idp/consent/ConsentTestingSupport.java?rev=7112&r1=7111&r2=7112&view=diff
==============================================================================
--- trunk/idp-consent/src/test/java/net/shibboleth/idp/consent/ConsentTestingSupport.java (original)
+++ trunk/idp-consent/src/test/java/net/shibboleth/idp/consent/ConsentTestingSupport.java Mon Dec 15 21:03:09 2014
@@ -26,7 +26,6 @@
 import net.shibboleth.idp.attribute.IdPAttributeValue;
 import net.shibboleth.idp.attribute.StringAttributeValue;
 import net.shibboleth.idp.consent.storage.ConsentResult;
-import net.shibboleth.idp.consent.storage.StorageIndex;
 
 import com.google.common.collect.Lists;
 import com.google.common.collect.Sets;
@@ -72,22 +71,6 @@
         return map;
     }
 
-    public static final Map<String, StorageIndex> newStorageIndexMap() {
-        final StorageIndex storageIndex1 = new StorageIndex();
-        storageIndex1.setContext("context1");
-        storageIndex1.getKeys().add("key1");
-
-        final StorageIndex storageIndex2 = new StorageIndex();
-        storageIndex2.setContext("context2");
-        storageIndex2.getKeys().add("key1");
-        storageIndex2.getKeys().add("key2");
-
-        final Map<String, StorageIndex> storageIndexes = new HashMap<>();
-        storageIndexes.put(storageIndex1.getContext(), storageIndex1);
-        storageIndexes.put(storageIndex2.getContext(), storageIndex2);
-        return storageIndexes;
-    }
-
     public static final List<ConsentResult> newConsentResults() {
         final List<ConsentResult> consentResults = new ArrayList<>();
         consentResults.add(new ConsentResult("context1", "key1", "value1", null));



More information about the commits mailing list