You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by ms...@apache.org on 2016/11/30 13:26:24 UTC
portals-pluto git commit: Improved documentation on addDependency()
methods to make scope and version optional
Repository: portals-pluto
Updated Branches:
refs/heads/master d6ca8ed8f -> c9d75c0d2
Improved documentation on addDependency() methods to make scope and version optional
Project: http://git-wip-us.apache.org/repos/asf/portals-pluto/repo
Commit: http://git-wip-us.apache.org/repos/asf/portals-pluto/commit/c9d75c0d
Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/c9d75c0d
Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/c9d75c0d
Branch: refs/heads/master
Commit: c9d75c0d2663a8a4c084e059d340701b2ad42bb4
Parents: d6ca8ed
Author: Scott Nicklous <ms...@apache.org>
Authored: Wed Nov 30 14:25:57 2016 +0100
Committer: Scott Nicklous <ms...@apache.org>
Committed: Wed Nov 30 14:25:57 2016 +0100
----------------------------------------------------------------------
portlet-api/src/main/java/javax/portlet/HeaderResponse.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/c9d75c0d/portlet-api/src/main/java/javax/portlet/HeaderResponse.java
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/java/javax/portlet/HeaderResponse.java b/portlet-api/src/main/java/javax/portlet/HeaderResponse.java
index 8f3a5b0..af36cef 100644
--- a/portlet-api/src/main/java/javax/portlet/HeaderResponse.java
+++ b/portlet-api/src/main/java/javax/portlet/HeaderResponse.java
@@ -140,8 +140,8 @@ public interface HeaderResponse extends MimeResponse {
* specific resources is left to the portal implementation.
*
* @param name the resource name
- * @param scope the resource scope
- * @param version the resource version
+ * @param scope the resource scope, may be <code>null</code> or empty
+ * @param version the resource version, may be <code>null</code> or empty
*
* @see PortletResponse#addProperty(String, org.w3c.dom.Element)
* @see #getWriter()
@@ -174,8 +174,8 @@ public interface HeaderResponse extends MimeResponse {
* version of the resource on the page.
*
* @param name the resource name
- * @param scope the resource scope
- * @param version the resource version
+ * @param scope the resource scope, may be <code>null</code> or empty
+ * @param version the resource version, may be <code>null</code> or empty
* @param markup the markup for adding the resource to the page
*
* @throws java.lang.IllegalArgumentException