Mercurial > hg > monetdb-java
changeset 863:9d21c6e7ed26
Suppress warning: [fallthrough] possible fall-through into case
Also add missing license header
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 01 Feb 2024 17:12:48 +0100 (14 months ago) |
parents | 811cfafcc242 |
children | b80758ef25db |
files | src/main/java/org/monetdb/mcl/net/MonetUrlParser.java |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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();