mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-03 18:53:43 +01:00 
			
		
		
		
	Replace Guava methods with stdlib equivalents
This commit is contained in:
		@@ -118,13 +118,13 @@ import java.util.concurrent.TimeUnit;
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
            final PlotCacheKey that = (PlotCacheKey) o;
 | 
			
		||||
            return com.google.common.base.Objects.equal(plot.getArea(), that.plot.getArea())
 | 
			
		||||
                && com.google.common.base.Objects.equal(plot.getId(), that.plot.getId())
 | 
			
		||||
                && com.google.common.base.Objects.equal(plot.getOwnerAbs(), that.plot.getOwnerAbs());
 | 
			
		||||
            return Objects.equals(plot.getArea(), that.plot.getArea())
 | 
			
		||||
                && Objects.equals(plot.getId(), that.plot.getId())
 | 
			
		||||
                && Objects.equals(plot.getOwnerAbs(), that.plot.getOwnerAbs());
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        @Override public int hashCode() {
 | 
			
		||||
            return com.google.common.base.Objects.hashCode(plot.getArea(), plot.getId(), plot.getOwnerAbs());
 | 
			
		||||
            return Objects.hash(plot.getArea(), plot.getId(), plot.getOwnerAbs());
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user