X-Git-Url: http://git.megacz.com/?p=org.ibex.js.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FJSNumber.java;h=a2a6cea7f0d1bb09d4d7689161c7309ec2f0531e;hp=8137cbcf12bf56aba26d8082772230575150400b;hb=b7d7d6f7dc1ddac7889d8334c194a96f344524e7;hpb=9ed8d93bbb0b40791a4ce31a9a8d79d24a379eb9 diff --git a/src/org/ibex/js/JSNumber.java b/src/org/ibex/js/JSNumber.java index 8137cbc..a2a6cea 100644 --- a/src/org/ibex/js/JSNumber.java +++ b/src/org/ibex/js/JSNumber.java @@ -1,7 +1,11 @@ +// Copyright 2000-2005 the Contributors, as shown in the revision logs. +// Licensed under the Apache Public Source License 2.0 ("the License"). +// You may not use this file except in compliance with the License. + package org.ibex.js; abstract class JSNumber extends JSPrimitive { - boolean jsequals(JS o) { + public boolean equals(Object o) { if(o == this) return true; if(o instanceof JSNumber) { JSNumber n = (JSNumber) o;