mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Add Tab.hashCode() to go with equals
This commit is contained in:
		| @@ -119,6 +119,11 @@ public abstract class Tab { | |||||||
|         return getTabId() == other.getTabId(); |         return getTabId() == other.getTabId(); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     @Override | ||||||
|  |     public int hashCode() { | ||||||
|  |         return Objects.hashCode(getTabId()); | ||||||
|  |     } | ||||||
|  |  | ||||||
|     /*////////////////////////////////////////////////////////////////////////// |     /*////////////////////////////////////////////////////////////////////////// | ||||||
|     // JSON Handling |     // JSON Handling | ||||||
|     //////////////////////////////////////////////////////////////////////////*/ |     //////////////////////////////////////////////////////////////////////////*/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Eric Xu
					Eric Xu