incubator-photark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r939959 - /incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java
Date Sat, 01 May 2010 09:17:46 GMT
Author: lresende
Date: Sat May  1 09:17:46 2010
New Revision: 939959

URL: http://svn.apache.org/viewvc?rev=939959&view=rev
Log:
PHOTARK-30 - Applying patch from Tharindu Jayasuriya to fix compatibility with JDK 1.5

Modified:
    incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java

Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java
URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java?rev=939959&r1=939958&r2=939959&view=diff
==============================================================================
--- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java
(original)
+++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/JCRRepositoryManager.java
Sat May  1 09:17:46 2010
@@ -67,7 +67,7 @@ public class JCRRepositoryManager {
     
     @Property
     public void setRepositoryHome(String repositoryHome){
-    	if(repositoryHome != null && (!repositoryHome.isEmpty())){
+    	if(repositoryHome != null && !repositoryHome.equals("")){
     		this.repositoryHome = repositoryHome;
     	}else{
     		logger.log(Level.WARNING,"Setting Default Repository Home:" + REPO_HOME_DEFAULT);



Mime
View raw message