You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2011/04/13 10:59:15 UTC

svn commit: r1091713 - /wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/template/PackageTextTemplate.java

Author: mgrigorov
Date: Wed Apr 13 08:59:15 2011
New Revision: 1091713

URL: http://svn.apache.org/viewvc?rev=1091713&view=rev
Log:
minor improvement in inline comment


Modified:
    wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/template/PackageTextTemplate.java

Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/template/PackageTextTemplate.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/template/PackageTextTemplate.java?rev=1091713&r1=1091712&r2=1091713&view=diff
==============================================================================
--- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/template/PackageTextTemplate.java (original)
+++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/template/PackageTextTemplate.java Wed Apr 13 08:59:15 2011
@@ -79,8 +79,7 @@ public class PackageTextTemplate extends
 	 *            the mime type of this resource, such as "<code>image/jpeg</code>" or "
 	 *            <code>text/html</code>"
 	 */
-	public PackageTextTemplate(final Class<?> clazz, final String fileName,
-		final String contentType)
+	public PackageTextTemplate(final Class<?> clazz, final String fileName, final String contentType)
 	{
 		this(clazz, fileName, contentType, DEFAULT_ENCODING);
 	}
@@ -115,7 +114,7 @@ public class PackageTextTemplate extends
 
 		if (stream == null)
 		{
-			// if default locator couldnt find the resource, than some fallback
+			// if the default locator didn't find the resource then fallback
 			stream = new ResourceStreamLocator().locate(clazz, path);
 		}