This commit is contained in:
nossr50 2012-07-13 10:01:51 -07:00
parent 05a9e85529
commit ac1c420cb5

View File

@ -368,6 +368,8 @@ public class HashChunkletManager implements ChunkletManager {
// TODO: Make this less messy, as it is, it's kinda... depressing to do it like this. // TODO: Make this less messy, as it is, it's kinda... depressing to do it like this.
// Might also make a mess when we move to stacks, but at that point I think I will write a new Manager... // Might also make a mess when we move to stacks, but at that point I think I will write a new Manager...
// IMPORTANT! If ChunkletStoreFactory is going to be returning something other than PrimitiveEx we need to remove this, as it will be breaking time for old maps // IMPORTANT! If ChunkletStoreFactory is going to be returning something other than PrimitiveEx we need to remove this, as it will be breaking time for old maps
/*
if(!(storeIn instanceof PrimitiveExChunkletStore)) { if(!(storeIn instanceof PrimitiveExChunkletStore)) {
ChunkletStore tempStore = ChunkletStoreFactory.getChunkletStore(); ChunkletStore tempStore = ChunkletStoreFactory.getChunkletStore();
if(storeIn != null) { if(storeIn != null) {
@ -375,6 +377,7 @@ public class HashChunkletManager implements ChunkletManager {
} }
storeIn = tempStore; storeIn = tempStore;
} }
*/
return storeIn; return storeIn;
} }