jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1328662 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/RepositoryImpl.java
Date Sat, 21 Apr 2012 14:03:15 GMT
Author: mduerig
Date: Sat Apr 21 14:03:14 2012
New Revision: 1328662

URL: http://svn.apache.org/viewvc?rev=1328662&view=rev
Log:
OAK-18: Define Oak API 
rename local variable to match renamed classes

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/RepositoryImpl.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/RepositoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/RepositoryImpl.java?rev=1328662&r1=1328661&r2=1328662&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/RepositoryImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/RepositoryImpl.java
Sat Apr 21 14:03:14 2012
@@ -120,9 +120,9 @@ public class RepositoryImpl implements R
     public Session login(Credentials credentials, String workspaceName) throws RepositoryException
{
         // TODO: needs complete refactoring
 
-        ContentRepository service = context.getInstance(ContentRepository.class);
+        ContentRepository contentRepository = context.getInstance(ContentRepository.class);
         try {
-            ContentSession connection = service.login(credentials, workspaceName);
+            ContentSession connection = contentRepository.login(credentials, workspaceName);
             return new SessionImpl(context, connection);
         } catch (LoginException e) {
             throw new javax.jcr.LoginException(e.getMessage());



Mime
View raw message