X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FJSNumber.java;h=f5ae5be4f93b8889f85aefe8861486b4bbd45112;hb=a6fb49b55117ea4cf330b412d2a2fff403fcd053;hp=8137cbcf12bf56aba26d8082772230575150400b;hpb=9ed8d93bbb0b40791a4ce31a9a8d79d24a379eb9;p=org.ibex.js.git diff --git a/src/org/ibex/js/JSNumber.java b/src/org/ibex/js/JSNumber.java index 8137cbc..f5ae5be 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 abstract class JSNumber extends JSPrimitive { + public boolean equals(Object o) { if(o == this) return true; if(o instanceof JSNumber) { JSNumber n = (JSNumber) o;