-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #404 from jburel/issue_403
adjust shift logic
- Loading branch information
Showing
1 changed file
with
2 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* org.openmicroscopy.shoola.util.roi.model.util.Coord3D | ||
* | ||
*------------------------------------------------------------------------------ | ||
* Copyright (C) 2006-2007 University of Dundee. All rights reserved. | ||
* Copyright (C) 2006-2023 University of Dundee. All rights reserved. | ||
* | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
|
@@ -22,13 +22,9 @@ | |
*/ | ||
package org.openmicroscopy.shoola.util.roi.model.util; | ||
|
||
//Java imports | ||
import java.io.Serializable; | ||
import java.util.Comparator; | ||
|
||
//Third-party libraries | ||
|
||
//Application-internal dependencies | ||
import org.openmicroscopy.shoola.util.roi.model.util.Coord3D; | ||
|
||
/** | ||
|
@@ -39,9 +35,6 @@ | |
* @author Donald MacDonald | ||
* <a href="mailto:[email protected]">[email protected]</a> | ||
* @version 3.0 | ||
* <small> | ||
* (<b>Internal version:</b> $Revision: $Date: $) | ||
* </small> | ||
* @since OME3.0 | ||
*/ | ||
public class Coord3D | ||
|
@@ -144,7 +137,7 @@ public int compare(Object o1, Object o2) | |
*/ | ||
public int hashCode() | ||
{ | ||
int value = z<<ZTBITSPLIT+t; | ||
int value = (z<<ZTBITSPLIT)+t; | ||
return value; | ||
} | ||
|
||
|
@@ -158,5 +151,3 @@ public String toString() | |
} | ||
|
||
} | ||
|
||
|