You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2008/07/26 00:23:11 UTC

svn commit: r679912 - /commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java

Author: mbenson
Date: Fri Jul 25 15:23:10 2008
New Revision: 679912

URL: http://svn.apache.org/viewvc?rev=679912&view=rev
Log:
[JXPATH-124] protected access for helper methods in Path

Modified:
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java?rev=679912&r1=679911&r2=679912&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java (original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java Fri Jul 25 15:23:10 2008
@@ -196,7 +196,7 @@
      * @param context evaluation context
      * @return Pointer
      */
-    private Pointer searchForPath(EvalContext context) {
+    protected Pointer searchForPath(EvalContext context) {
         EvalContext ctx = buildContextChain(context, steps.length, true);
         Pointer pointer = ctx.getSingleNodePointer();
 
@@ -245,7 +245,7 @@
      * @param createInitialContext whether to create the initial context
      * @return created context
      */
-    private EvalContext buildContextChain(
+    protected EvalContext buildContextChain(
             EvalContext context,
             int stepCount,
             boolean createInitialContext) {