comparison truffle/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/TypeSystem.java @ 22065:503529c65456

Remove trailing whitespace from UPL license
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 05 Aug 2015 10:19:41 -0700
parents 5bc7f7b867ab
children dc83cc1f94f2
comparison
equal deleted inserted replaced
22064:02015aac6be9 22065:503529c65456
59 * 59 *
60 * <pre> 60 * <pre>
61 * 61 *
62 * {@literal @}TypeSystem(types = {boolean.class, int.class, double.class}) 62 * {@literal @}TypeSystem(types = {boolean.class, int.class, double.class})
63 * public abstract class ExampleTypeSystem { 63 * public abstract class ExampleTypeSystem {
64 * 64 *
65 * {@literal @}TypeCheck 65 * {@literal @}TypeCheck
66 * public boolean isInteger(Object value) { 66 * public boolean isInteger(Object value) {
67 * return value instanceof Integer || value instanceof Double; 67 * return value instanceof Integer || value instanceof Double;
68 * } 68 * }
69 * 69 *
70 * {@literal @}TypeCast 70 * {@literal @}TypeCast
71 * public double asInteger(Object value) { 71 * public double asInteger(Object value) {
72 * return ((Number)value).doubleValue(); 72 * return ((Number)value).doubleValue();
73 * } 73 * }
74 * } 74 * }