comparison src/main/java/org/monetdb/mcl/net/Target.java @ 918:2543e24eb79a

Add final to more classes.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Wed, 24 Jul 2024 19:38:33 +0200 (9 months ago)
parents a52bc2dcdb8c
children d416e9b6b3d0
comparison
equal deleted inserted replaced
917:c2164decf7f1 918:2543e24eb79a
14 14
15 import java.net.URISyntaxException; 15 import java.net.URISyntaxException;
16 import java.util.Properties; 16 import java.util.Properties;
17 import java.util.regex.Pattern; 17 import java.util.regex.Pattern;
18 18
19 public class Target { 19 public final class Target {
20 protected static final Target defaults = new Target(); 20 protected static final Target defaults = new Target();
21 private static final Pattern namePattern = Pattern.compile("^[a-zzA-Z_][-a-zA-Z0-9_.]*$"); 21 private static final Pattern namePattern = Pattern.compile("^[a-zzA-Z_][-a-zA-Z0-9_.]*$");
22 private static final Pattern hashPattern = Pattern.compile("^sha256:[0-9a-fA-F:]*$"); 22 private static final Pattern hashPattern = Pattern.compile("^sha256:[0-9a-fA-F:]*$");
23 private boolean tls = false; 23 private boolean tls = false;
24 private String host = ""; 24 private String host = "";