Revision 6417
Added by rnahf about 13 years ago
src/edu/ucsb/nceas/metacat/dataone/hazelcast/ObjectPathMapLoader.java | ||
---|---|---|
1 | 1 |
package edu.ucsb.nceas.metacat.dataone.hazelcast; |
2 | 2 |
|
3 |
import java.sql.SQLException; |
|
4 | 3 |
import java.util.Collection; |
5 | 4 |
import java.util.Collections; |
6 | 5 |
import java.util.HashSet; |
... | ... | |
13 | 12 |
|
14 | 13 |
import com.hazelcast.core.MapLoader; |
15 | 14 |
|
16 |
import edu.ucsb.nceas.metacat.DBUtil; |
|
17 | 15 |
import edu.ucsb.nceas.metacat.IdentifierManager; |
18 | 16 |
import edu.ucsb.nceas.metacat.McdbDocNotFoundException; |
19 | 17 |
import edu.ucsb.nceas.metacat.properties.PropertyService; |
... | ... | |
30 | 28 |
*/ |
31 | 29 |
public class ObjectPathMapLoader implements MapLoader<Identifier, String> { |
32 | 30 |
private static IdentifierManager im; |
33 |
private static DBUtil dbUtil; |
|
34 | 31 |
private static String dataPath; |
35 | 32 |
private static String metadataPath; |
36 | 33 |
|
... | ... | |
48 | 45 |
e.printStackTrace(); |
49 | 46 |
} |
50 | 47 |
im = IdentifierManager.getInstance(); |
51 |
dbUtil = new DBUtil(); |
|
52 | 48 |
} |
53 | 49 |
|
54 | 50 |
|
Also available in: Unified diff
small code cleanup - removed unused instantiations of DBUtils.