Revision 6470
Added by Matt Jones over 12 years ago
ObjectPathMap.java | ||
---|---|---|
1 | 1 |
package edu.ucsb.nceas.metacat.dataone.hazelcast; |
2 | 2 |
|
3 | 3 |
import java.util.Collection; |
4 |
import java.util.Collections; |
|
5 |
import java.util.HashSet; |
|
6 | 4 |
import java.util.Hashtable; |
7 |
import java.util.List; |
|
8 | 5 |
import java.util.Map; |
9 | 6 |
import java.util.Set; |
10 | 7 |
|
... | ... | |
77 | 74 |
* document on the local filesystem. Returns null if it can't |
78 | 75 |
* create the path. |
79 | 76 |
*/ |
80 |
@Override |
|
81 | 77 |
public String load(String key) |
82 | 78 |
{ |
83 | 79 |
|
... | ... | |
100 | 96 |
* mappings for all Identifiers in the parameters. Any Identifier not found |
101 | 97 |
* is not included in the resulting map. |
102 | 98 |
*/ |
103 |
@Override |
|
104 | 99 |
public Map<String, String> loadAll(Collection<String> identifiers) { |
105 | 100 |
|
106 | 101 |
|
... | ... | |
127 | 122 |
* (Hazelcast allows avoiding pre-loading by returning NULL, so will |
128 | 123 |
* do this to avoid pre-loading a very long list unnecessarily) |
129 | 124 |
*/ |
130 |
@Override |
|
131 | 125 |
public Set<String> loadAllKeys() |
132 | 126 |
{ |
133 | 127 |
return null; |
Also available in: Unified diff
Removing incorrect @Override annotations that were preventing compilation. The methods marked did not actually override a method in the superclass, so they were not compiling. I think @Overrides was being mistaken for methods that implement an interface but aren't actually in the superclass.