# HG changeset patch # User Gilles Duboscq # Date 1398353412 -7200 # Node ID 10c6705dbe9a31819be8889323ac4fd4d590712e # Parent d8b36589cab08a83ac51c8a14b5839eda5b32dcc StampTool: fix typo and change "java" to "Java" diff -r d8b36589cab0 -r 10c6705dbe9a graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampTool.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampTool.java Fri Apr 25 10:33:17 2014 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/StampTool.java Thu Apr 24 17:30:12 2014 +0200 @@ -506,22 +506,22 @@ } /** - * Returns the {@linkplain ResolvedJavaType java type} this {@linkplain ValueNode} has if it is + * Returns the {@linkplain ResolvedJavaType Java type} this {@linkplain ValueNode} has if it is * a {@linkplain Stamp#isLegal() legal} Object value. * * @param node the node to check - * @return the javat type this value has if it is a legal Object type, null otherwise + * @return the Java type this value has if it is a legal Object type, null otherwise */ public static ResolvedJavaType typeOrNull(ValueNode node) { return typeOrNull(node.stamp()); } /** - * Returns the {@linkplain ResolvedJavaType java type} this {@linkplain Stamp} has if it is a + * Returns the {@linkplain ResolvedJavaType Java type} this {@linkplain Stamp} has if it is a * {@linkplain Stamp#isLegal() legal} Object stamp. * * @param stamp the stamp to check - * @return the java type this stamp has if it is a legal Object stamp, null otherwise + * @return the Java type this stamp has if it is a legal Object stamp, null otherwise */ public static ResolvedJavaType typeOrNull(Stamp stamp) { if (stamp instanceof ObjectStamp && stamp.isLegal()) { @@ -532,12 +532,12 @@ /** * Checks whether this {@link ValueNode} represents a {@linkplain Stamp#isLegal() legal} Object - * value whose java type is known exactly. If this method returns true then the - * {@linkplain ResolvedJavaType java type} returned by {@link #typeOrNull(ValueNode)} is the - * concrete dynamic/runtime java type of this value. + * value whose Java type is known exactly. If this method returns true then the + * {@linkplain ResolvedJavaType Java type} returned by {@link #typeOrNull(ValueNode)} is the + * concrete dynamic/runtime Java type of this value. * * @param node the node to check - * @return true if this node represents a legal object value whose java type is known exactly + * @return true if this node represents a legal object value whose Java type is known exactly */ public static boolean isExactType(ValueNode node) { return isExactType(node.stamp()); @@ -545,12 +545,12 @@ /** * Checks whether this {@link Stamp} represents a {@linkplain Stamp#isLegal() legal} Object - * stamp whose {@linkplain ResolvedJavaType java type} is known exactly. If this method returns - * true then the java type returned by {@link #typeOrNull(Stamp)} is the only concrete - * dynamic/runtime java type possible for values of this stamp. + * stamp whose {@linkplain ResolvedJavaType Java type} is known exactly. If this method returns + * true then the Java type returned by {@link #typeOrNull(Stamp)} is the only concrete + * dynamic/runtime Java type possible for values of this stamp. * * @param stamp the stamp to check - * @return true if this node represents a legal object stamp whose java type is known exactly + * @return true if this node represents a legal object stamp whose Java type is known exactly */ public static boolean isExactType(Stamp stamp) { if (stamp instanceof ObjectStamp && stamp.isLegal()) {