# HG changeset patch
# User Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
# Date 1638449818 -3600
# Node ID f30b319d57b899c9f65ebe52299bc045701133f5
# Parent  d30b69ed8e9544713c20489a49166f3b56063146
Removed strange character lastIndexOf???('.') in method name. It reported a compilation error on Windows but not on Linux.

diff --git a/src/main/java/org/monetdb/util/FileTransferHandler.java b/src/main/java/org/monetdb/util/FileTransferHandler.java
--- a/src/main/java/org/monetdb/util/FileTransferHandler.java
+++ b/src/main/java/org/monetdb/util/FileTransferHandler.java
@@ -93,7 +93,7 @@ public class FileTransferHandler impleme
 		}
 		// In this implementation we ONLY support gzip compression format and none of the other compression formats.
 		if (name.endsWith(".bz2") || name.endsWith(".lz4") || name.endsWith(".xz") || name.endsWith(".zip")) {
-			final String extension = name.substring(name.lastIndexOf​('.'));
+			final String extension = name.substring(name.lastIndexOf('.'));
 			handle.sendError("Specified file compression format " + extension + " is not supported. Only .gz is supported.");
 			return;
 		}
@@ -144,7 +144,7 @@ public class FileTransferHandler impleme
 		}
 		// In this implementation we ONLY support gzip compression format and none of the other compression formats.
 		if (name.endsWith(".bz2") || name.endsWith(".lz4") || name.endsWith(".xz") || name.endsWith(".zip")) {
-			final String extension = name.substring(name.lastIndexOf​('.'));
+			final String extension = name.substring(name.lastIndexOf('.'));
 			handle.sendError("Requested file compression format " + extension + " is not supported. Use .gz instead.");
 			return;
 		}