mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Remove unused method.
This commit is contained in:
		| @@ -347,19 +347,4 @@ public final class Localization { | ||||
|     private static double round(final double value, final int places) { | ||||
|         return new BigDecimal(value).setScale(places, RoundingMode.HALF_UP).doubleValue(); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Workaround to match normalized captions like english to English or deutsch to Deutsch. | ||||
|      * @param list the list to search into | ||||
|      * @param toFind the string to look for | ||||
|      * @return whether the string was found or not | ||||
|      */ | ||||
|     public static boolean containsCaseInsensitive(final List<String> list, final String toFind) { | ||||
|         for (final String i : list) { | ||||
|             if (i.equalsIgnoreCase(toFind)) { | ||||
|                 return true; | ||||
|             } | ||||
|         } | ||||
|         return false; | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Isira Seneviratne
					Isira Seneviratne