comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/intrinsics/IntrinsicImpl.java @ 4142:bc8527f3071c

Adjust code base to new level of warnings.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 05:24:06 +0100
parents e233f5660da4
children
comparison
equal deleted inserted replaced
4141:04d21be7a24f 4142:bc8527f3071c
41 * Registry that maps intrinsic ID strings to implementation objects. 41 * Registry that maps intrinsic ID strings to implementation objects.
42 * Intrinsic ID strings can either be explicitly defined as String constants, or inferred from the 42 * Intrinsic ID strings can either be explicitly defined as String constants, or inferred from the
43 * fully qualified name and signature of a method. 43 * fully qualified name and signature of a method.
44 */ 44 */
45 public class Registry implements Iterable<Map.Entry<String, IntrinsicImpl>> { 45 public class Registry implements Iterable<Map.Entry<String, IntrinsicImpl>> {
46 private Map<String, IntrinsicImpl> implRegistry = new ConcurrentHashMap<String, IntrinsicImpl>(100, 0.75f, 1); 46 private Map<String, IntrinsicImpl> implRegistry = new ConcurrentHashMap<>(100, 0.75f, 1);
47 47
48 /** 48 /**
49 * Add an implementation object for an explicitly defined intrinsic ID string. 49 * Add an implementation object for an explicitly defined intrinsic ID string.
50 */ 50 */
51 public void add(String intrinsicId, IntrinsicImpl impl) { 51 public void add(String intrinsicId, IntrinsicImpl impl) {