incubator-photark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r942773 - /incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java
Date Mon, 10 May 2010 15:01:11 GMT
Author: lresende
Date: Mon May 10 15:01:10 2010
New Revision: 942773

URL: http://svn.apache.org/viewvc?rev=942773&view=rev
Log:
Removing anoying log messages when description is not found

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

Modified: incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java
URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java?rev=942773&r1=942772&r2=942773&view=diff
==============================================================================
--- incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java
(original)
+++ incubator/photark/trunk/photark-jcr/src/main/java/org/apache/photark/jcr/services/JCRAlbumImpl.java
Mon May 10 15:01:10 2010
@@ -146,11 +146,11 @@ public class JCRAlbumImpl implements Alb
             Session session = repositoryManager.getSession();
             Node root = session.getRootNode();
             Node albumNode = root.getNode(name);
-            if(albumNode.hasProperty("description")){
+            if (albumNode.hasProperty("description")) {
                 description = albumNode.getProperty("description").getString();
-            }else{
+            } /*else {
                 logger.info("description of album " + name + " not found");
-            }
+            } */
 
         } catch (Exception e) {
             // FIXME: ignore for now



Mime
View raw message