Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
+19 -17
View File
@@ -18,8 +18,10 @@
package appeng.me;
import java.lang.ref.WeakReference;
public class GridStorageSearch
{
@@ -31,29 +33,29 @@ public class GridStorageSearch
*
* @param id ID of grid storage search
*/
public GridStorageSearch(long id) {
this.id = id;
}
@Override
public boolean equals(Object obj)
public GridStorageSearch( long id )
{
if ( obj == null )
return false;
if ( this.getClass() != obj.getClass() )
return false;
GridStorageSearch other = (GridStorageSearch) obj;
if ( this.id == other.id )
return true;
return false;
this.id = id;
}
@Override
public int hashCode()
{
return ((Long) this.id).hashCode();
return ( (Long) this.id ).hashCode();
}
@Override
public boolean equals( Object obj )
{
if( obj == null )
return false;
if( this.getClass() != obj.getClass() )
return false;
GridStorageSearch other = (GridStorageSearch) obj;
if( this.id == other.id )
return true;
return false;
}
}