8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty
authorvtewari
Tue, 11 Oct 2016 15:12:40 +0530
changeset 41474 eaa1c85db7d8
parent 41473 bf73db8c61e0
child 41475 e5ebda6a1a83
8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty Reviewed-by: chegar, dfuchs
jdk/src/java.base/share/classes/java/net/URLPermission.java
--- a/jdk/src/java.base/share/classes/java/net/URLPermission.java	Tue Oct 11 09:11:34 2016 +0000
+++ b/jdk/src/java.base/share/classes/java/net/URLPermission.java	Tue Oct 11 15:12:40 2016 +0530
@@ -217,7 +217,7 @@
      * where method-names is the list of methods separated by commas
      * and header-names is the list of permitted headers separated by commas.
      * There is no white space in the returned String. If header-names is empty
-     * then the colon separator will not be present.
+     * then the colon separator may not be present.
      */
     public String getActions() {
         return actions;