incubator-vxquery-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ti...@apache.org
Subject svn commit: r996197 - /incubator/vxquery/trunk/vxquery/src/main/java/org/apache/vxquery/datamodel/dtm/DTMNodeImpl.java
Date Sat, 11 Sep 2010 19:10:58 GMT
Author: tillw
Date: Sat Sep 11 19:10:57 2010
New Revision: 996197

URL: http://svn.apache.org/viewvc?rev=996197&view=rev
Log:
added more specific toString() method

Modified:
    incubator/vxquery/trunk/vxquery/src/main/java/org/apache/vxquery/datamodel/dtm/DTMNodeImpl.java

Modified: incubator/vxquery/trunk/vxquery/src/main/java/org/apache/vxquery/datamodel/dtm/DTMNodeImpl.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/src/main/java/org/apache/vxquery/datamodel/dtm/DTMNodeImpl.java?rev=996197&r1=996196&r2=996197&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/src/main/java/org/apache/vxquery/datamodel/dtm/DTMNodeImpl.java
(original)
+++ incubator/vxquery/trunk/vxquery/src/main/java/org/apache/vxquery/datamodel/dtm/DTMNodeImpl.java
Sat Sep 11 19:10:57 2010
@@ -1,13 +1,13 @@
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
+ * contributor license agreements. See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
+ * the License. You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -235,4 +235,9 @@ final class DTMNodeImpl implements XDMNo
     int getDTMIndex() {
         return index;
     }
+
+    @Override
+    public String toString() {
+        return super.toString() + '(' + getDMOKind().toString() + ')';
+    }
 }
\ No newline at end of file



Mime
View raw message