Mercurial > hg > truffle
comparison graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/except/UntrustedInterfaces.java @ 19507:1cde96b96673
Fixed code format issues.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Thu, 19 Feb 2015 16:15:56 +0100 |
parents | c88ab4f1f04a |
children | e87754e57be7 |
comparison
equal
deleted
inserted
replaced
19506:8c7536965c95 | 19507:1cde96b96673 |
---|---|
43 * <pre> | 43 * <pre> |
44 * private static final class GoodPill extends Pill { | 44 * private static final class GoodPill extends Pill { |
45 * public void setField() { | 45 * public void setField() { |
46 * field = new TestConstant(); | 46 * field = new TestConstant(); |
47 * } | 47 * } |
48 * | 48 * |
49 * public void setStaticField() { | 49 * public void setStaticField() { |
50 * staticField = new TestConstant(); | 50 * staticField = new TestConstant(); |
51 * } | 51 * } |
52 * | 52 * |
53 * public int callMe(CallBack callback) { | 53 * public int callMe(CallBack callback) { |
54 * return callback.callBack(new TestConstant()); | 54 * return callback.callBack(new TestConstant()); |
55 * } | 55 * } |
56 * | 56 * |
57 * public TestInterface get() { | 57 * public TestInterface get() { |
58 * return new TestConstant(); | 58 * return new TestConstant(); |
59 * } | 59 * } |
60 * } | 60 * } |
61 * | 61 * |
62 * private static final class TestConstant implements TestInterface { | 62 * private static final class TestConstant implements TestInterface { |
63 * public int method() { | 63 * public int method() { |
64 * return 42; | 64 * return 42; |
65 * } | 65 * } |
66 * } | 66 * } |