Author: andreas
Date: Fri Nov 16 01:20:25 2007
New Revision: 595604
URL: http://svn.apache.org/viewvc?rev=595604&view=rev
Log:
[minor change] converted tabs to spaces
Modified:
lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java
Modified: lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java?rev=595604&r1=595603&r2=595604&view=diff
==============================================================================
--- lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java (original)
+++ lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentFactoryImpl.java Fri Nov 16 01:20:25 2007
@@ -179,7 +179,7 @@
* @throws DocumentBuildException if an error occurs.
*/
public boolean isDocument(String webappUrl) throws DocumentBuildException {
- Assert.notNull("webapp URL", webappUrl);
+ Assert.notNull("webapp URL", webappUrl);
PublicationManager pubMgr = getPubManager();
try {
URLInformation info = new URLInformation(webappUrl);
@@ -206,10 +206,10 @@
* @return A key.
*/
public String getKey(Publication publication, String area, String uuid, String language, int revision) {
- Assert.notNull("publication", publication);
- Assert.notNull("area", area);
- Assert.notNull("uuid", uuid);
- Assert.notNull("language", language);
+ Assert.notNull("publication", publication);
+ Assert.notNull("area", area);
+ Assert.notNull("uuid", uuid);
+ Assert.notNull("language", language);
return publication.getId() + ":" + area + ":" + uuid + ":" + language + ":" + revision;
}
@@ -219,7 +219,7 @@
* @return A key.
*/
public String getKey(String webappUrl) {
- Assert.notNull("webapp URL", webappUrl);
+ Assert.notNull("webapp URL", webappUrl);
try {
if (!isDocument(webappUrl)) {
throw new RuntimeException("No document for URL [" + webappUrl + "] found.");
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.