# HG changeset patch
# User Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
# Date 1706803968 -3600
# Node ID 9d21c6e7ed267c342d6a8a890b2534e94735cbff
# Parent  811cfafcc242595dce0b0dd68dffcae28a251860
Suppress warning: [fallthrough] possible fall-through into case
Also add missing license header

diff --git a/src/main/java/org/monetdb/mcl/net/MonetUrlParser.java b/src/main/java/org/monetdb/mcl/net/MonetUrlParser.java
--- a/src/main/java/org/monetdb/mcl/net/MonetUrlParser.java
+++ b/src/main/java/org/monetdb/mcl/net/MonetUrlParser.java
@@ -1,3 +1,15 @@
+/*
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0.  If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * Copyright 2024 MonetDB Foundation;
+ * Copyright August 2008 - 2023 MonetDB B.V.;
+ * Copyright 1997 - July 2008 CWI.
+ */
+
 package org.monetdb.mcl.net;
 
 import java.io.UnsupportedEncodingException;
@@ -72,6 +84,7 @@ public class MonetUrlParser {
 		}
 	}
 
+	@SuppressWarnings("fallthrough")
 	private void parseModern() throws URISyntaxException, ValidationError {
 		clearBasic();