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

Version Path
rubyfox-server-2.12.1.0 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.11.1.0 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.9.2.0 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.9.1.0 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.9.0.0 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.8.4.0 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.8.0.1 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.8.0.0 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.3.0.0 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java
rubyfox-server-2.3.0.pre2 lib/rubyfox/server/data/lib/Lib/test/javatests/AnonInner.java