01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.config;
05:
06: import java.util.Collections;
07: import java.util.HashMap;
08: import java.util.Map;
09:
10: public class TransparencyClassSpecUtil {
11:
12: private static final Map anomalies = Collections
13: .synchronizedMap(new HashMap());
14:
15: private static final String IGNORE_CHECKS = "IGNORE_CHECKS";
16:
17: static {
18: anomalies.put("org.apache.commons.collections.FastHashMap",
19: IGNORE_CHECKS);
20: }
21:
22: private TransparencyClassSpecUtil() {
23: super ();
24: }
25:
26: public static boolean ignoreChecks(String className) {
27: return IGNORE_CHECKS.equals(anomalies.get(className));
28: }
29:
30: }
|