summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorStevenWdV <stevenwdv@gmail.com>2021-12-03 12:32:24 +0100
committerStevenWdV <stevenwdv@gmail.com>2021-12-03 12:32:24 +0100
commit125e4f185a19948c022879ce8e0b915fd028a7e1 (patch)
tree22e5759bd38188ebe3a3b46c2a386d845f4da96e /wrappers
parentb60eadf76f92d7f8878fcbec6de7ab6ea4572a89 (diff)
A little cleanup
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/csharp/Discovery.cs2
-rw-r--r--wrappers/java/src/main/java/nl/eduvpn/common/Discovery.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/csharp/Discovery.cs b/wrappers/csharp/Discovery.cs
index 1f3d1e8..183d94f 100644
--- a/wrappers/csharp/Discovery.cs
+++ b/wrappers/csharp/Discovery.cs
@@ -15,7 +15,7 @@ namespace EduVpnCommon
/// </summary>
/// <param name="signatureFileContent">.minisig signature file contents.</param>
/// <param name="signedJson">Signed .json file contents.</param>
- /// <param name="expectedFileName">The file type to be verified, one of <c>server_list.json</c> or <c>organization_list.json</c>.</param>
+ /// <param name="expectedFileName">The file type to be verified, one of <c>"server_list.json"</c> or <c>"organization_list.json"</c>.</param>
/// <param name="minSignTime">Minimum time for signature. Should be set to at least the time in a previously retrieved file.</param>
/// <exception cref="ArgumentException">If <c>expectedFileName</c> is not one of the allowed values.</exception>
/// <exception cref="VerifyException">If signature verification fails.</exception>
diff --git a/wrappers/java/src/main/java/nl/eduvpn/common/Discovery.java b/wrappers/java/src/main/java/nl/eduvpn/common/Discovery.java
index d73a3d2..40d5300 100644
--- a/wrappers/java/src/main/java/nl/eduvpn/common/Discovery.java
+++ b/wrappers/java/src/main/java/nl/eduvpn/common/Discovery.java
@@ -5,7 +5,7 @@ import com.sun.jna.*;
import java.nio.charset.StandardCharsets;
import java.time.Instant;
-public class Discovery {
+public final class Discovery {
private static final NativeApi discovery = Native.load("eduvpn_verify", NativeApi.class);
/**