8184315: Typo in java.net.JarURLConnection.getCertificates() method documentation
Reviewed-by: dfuchs
--- a/src/java.base/share/classes/java/net/JarURLConnection.java Tue Mar 12 10:09:50 2019 +0100
+++ b/src/java.base/share/classes/java/net/JarURLConnection.java Tue Mar 12 09:22:40 2019 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -293,7 +293,7 @@
}
/**
- * Return the Certificate object for this connection if the URL
+ * Returns the Certificate objects for this connection if the URL
* for it points to a JAR file entry, null otherwise. This method
* can only be called once
* the connection has been completely verified by reading