X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Fprimitives%2FMutableLong.java;h=84d8a7382292248e3c34f4a2a6a927393cb2ea0a;hb=15a0f229f7340ed92e9157049483ed71f54677f9;hp=75aba7fc0211597a393673d7c6a2375a9b5cc80a;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/primitives/MutableLong.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/primitives/MutableLong.java index 75aba7fc0..84d8a7382 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/primitives/MutableLong.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/primitives/MutableLong.java @@ -1,14 +1,14 @@ -/******************************************************************************* - * Copyright (c) 2010 Association for Decentralized Information Management in - * Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ +/******************************************************************************* + * Copyright (c) 2010 Association for Decentralized Information Management in + * Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ package org.simantics.databoard.primitives; public class MutableLong extends Number implements Comparable { @@ -53,9 +53,9 @@ public class MutableLong extends Number implements Comparable { return (int) (value ^ (value >>> 32)); } - public boolean equals(Object obj) { - if (obj == null) return false; - if (obj == this) return true; + public boolean equals(Object obj) { + if (obj == null) return false; + if (obj == this) return true; if (obj instanceof MutableLong) { return value == ((MutableLong) obj).longValue();