jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edgarp...@apache.org
Subject svn commit: r549174 - in /jackrabbit/trunk/contrib/jcrtaglib: ./ src/java/org/apache/jackrabbit/taglib/VersionsTag.java src/java/org/apache/jackrabbit/taglib/utils/JCRTagUtils.java
Date Wed, 20 Jun 2007 18:11:03 GMT
Author: edgarpoce
Date: Wed Jun 20 11:11:02 2007
New Revision: 549174

URL: http://svn.apache.org/viewvc?view=rev&rev=549174
Log:
jcr-taglib remove unnecesary validation, remove java5 annotation

Modified:
    jackrabbit/trunk/contrib/jcrtaglib/   (props changed)
    jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/VersionsTag.java
    jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/utils/JCRTagUtils.java

Propchange: jackrabbit/trunk/contrib/jcrtaglib/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Jun 20 11:11:02 2007
@@ -1 +1,3 @@
 target
+.classpath
+.project

Modified: jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/VersionsTag.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/VersionsTag.java?view=diff&rev=549174&r1=549173&r2=549174
==============================================================================
--- jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/VersionsTag.java
(original)
+++ jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/VersionsTag.java
Wed Jun 20 11:11:02 2007
@@ -34,7 +34,6 @@
 	/** tag name */
 	public static String TAG_NAME = "versions";
 
-	@Override
 	protected void prepare() throws JspTagException {
 		try {
 			Node node = super.getNode();

Modified: jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/utils/JCRTagUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/utils/JCRTagUtils.java?view=diff&rev=549174&r1=549173&r2=549174
==============================================================================
--- jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/utils/JCRTagUtils.java
(original)
+++ jackrabbit/trunk/contrib/jcrtaglib/src/java/org/apache/jackrabbit/taglib/utils/JCRTagUtils.java
Wed Jun 20 11:11:02 2007
@@ -138,11 +138,6 @@
         } else if (o instanceof Item)
         {
             item = (Item) o;
-            if (!item.getSession().equals(session))
-            {
-                throw new JspException(
-                        "The referenced node belongs to another session.");
-            }
         } else
         {
             String msg = "The node attribute evaluation "



Mime
View raw message