directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1596839 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
Date Thu, 22 May 2014 12:27:10 GMT
Author: kayyagari
Date: Thu May 22 12:27:10 2014
New Revision: 1596839

URL: http://svn.apache.org/r1596839
Log:
changed the scope of some methods and fields to protected

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java?rev=1596839&r1=1596838&r2=1596839&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
Thu May 22 12:27:10 2014
@@ -231,10 +231,10 @@ public class LdifReader implements Itera
     protected long entryOffset = 0;
 
     /** the current offset of the reader */
-    private long offset = 0;
+    protected long offset = 0;
 
     /** the numer of the current line being parsed by the reader */
-    private int lineNumber;
+    protected int lineNumber;
 
     /**
      * Constructors
@@ -463,7 +463,7 @@ public class LdifReader implements Itera
      * @param line The line which contains the changeType
      * @return The operation.
      */
-    private ChangeType parseChangeType( String line )
+    protected ChangeType parseChangeType( String line )
     {
         ChangeType operation = ChangeType.Add;
 
@@ -501,7 +501,7 @@ public class LdifReader implements Itera
      * @return A Dn
      * @throws LdapLdifException If the Dn is invalid
      */
-    private String parseDn( String line ) throws LdapLdifException
+    protected String parseDn( String line ) throws LdapLdifException
     {
         String dn;
 
@@ -1453,7 +1453,7 @@ public class LdifReader implements Itera
      * @return A number representing the version (default to 1)
      * @throws LdapLdifException If the version is incorrect or if the input is incorrect
      */
-    private int parseVersion() throws LdapLdifException
+    protected int parseVersion() throws LdapLdifException
     {
         int ver = DEFAULT_VERSION;
 



Mime
View raw message