jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1404547 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ValueFactoryTest.java
Date Thu, 01 Nov 2012 11:25:42 GMT
Author: angela
Date: Thu Nov  1 11:25:42 2012
New Revision: 1404547

URL: http://svn.apache.org/viewvc?rev=1404547&view=rev
Log:
minor improvement

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ValueFactoryTest.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ValueFactoryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ValueFactoryTest.java?rev=1404547&r1=1404546&r2=1404547&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ValueFactoryTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ValueFactoryTest.java
Thu Nov  1 11:25:42 2012
@@ -18,7 +18,6 @@ package org.apache.jackrabbit.oak.jcr;
 
 import javax.jcr.PropertyType;
 import javax.jcr.RepositoryException;
-import javax.jcr.Session;
 import javax.jcr.ValueFactory;
 import javax.jcr.ValueFormatException;
 
@@ -32,14 +31,11 @@ import static org.junit.Assert.fail;
  */
 public class ValueFactoryTest extends AbstractRepositoryTest {
 
-    private static final String TEST_NODE = "test_node";
-
     private ValueFactory valueFactory;
 
     @Before
     public void setup() throws RepositoryException {
-        Session session = getAdminSession();
-        valueFactory = session.getValueFactory();
+        valueFactory = getAdminSession().getValueFactory();
     }
 
     // TODO: this tests should be moved to the TCK. retrieving "invalidIdentifier" from the
config.



Mime
View raw message