changeset 54068:b067bd7edc26

8184315: Typo in java.net.JarURLConnection.getCertificates() method documentation Reviewed-by: dfuchs
author chegar
date Tue, 12 Mar 2019 09:22:40 +0000
parents 94d1e2c8fe01
children c4fb912f3085
files src/java.base/share/classes/java/net/JarURLConnection.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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