You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/03/15 00:09:18 UTC
[1/14] git commit: Javadoc typos and clarifications
Javadoc typos and clarifications
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/2fc96ca2
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/2fc96ca2
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/2fc96ca2
Branch: refs/heads/master
Commit: 2fc96ca293f184d08b37a5aef36b890971b376c8
Parents: 45d92c1
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Tue Mar 5 15:30:21 2013 -0800
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Mar 14 13:38:02 2013 -0700
----------------------------------------------------------------------
.../tapestry5/services/AssetPathConverter.java | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/2fc96ca2/tapestry-core/src/main/java/org/apache/tapestry5/services/AssetPathConverter.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/services/AssetPathConverter.java b/tapestry-core/src/main/java/org/apache/tapestry5/services/AssetPathConverter.java
index ac12cb8..6fbb3e6 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/services/AssetPathConverter.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/services/AssetPathConverter.java
@@ -1,4 +1,4 @@
-// Copyright 2009 The Apache Software Foundation
+// Copyright 2009, 2013 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -27,12 +27,13 @@ package org.apache.tapestry5.services;
public interface AssetPathConverter
{
/**
- * Returns true if the converter returns that same converted path for any specific asset path (in which case, the
- * converted asset path may be cached in component instance variables more aggresively). This value should be false
+ * Returns true if the converter returns the exact same converted path for any specific asset path (in which case, the
+ * converted asset path may be cached in component instance variables more aggressively). This value should be false
* if the converted path can vary for the same input path ... that is, if external factors (such as the identity of
- * the user, or information obtained from the request) is involved in generating the final client URI.
+ * the user, or information obtained from the request) is involved in generating the final client URI. With a CDN
+ * this can sometimes be the case, where the user's identity may indicate which CDN server to vend the asset from.
*
- * @return true if invariant (and therefore cachable)
+ * @return true if invariant (and therefore cacheable)
*/
boolean isInvariant();