Sha256: f57e7ba79493dce1f143b0be49b356a41eb13795bd567b393e419e4fbe61f7ea
Contents?: true
Size: 426 Bytes
Versions: 30
Compression:
Stored size: 426 Bytes
Contents
package javatests; import java.util.Date; public class AnonInner { public int doit() { Date d = new Date() { public int hashCode() { return 2000; } //XXX: stuck compareTo to make the compiler happier. // hopefully this doesn't mess up the test. public int compareTo(Object x) { return 0; } }; return d.hashCode(); } }
Version data entries
30 entries across 30 versions & 1 rubygems