changeset 22033:79206d503322

remove final from Node.assignSourceSection/getSourceSection/getEncapsulatingSourceSection methods
author Mick Jordan <mick.jordan@oracle.com>
date Fri, 24 Jul 2015 11:02:40 -0700
parents 3f52c373ba2c
children a4c9f8c89c68
files truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/Node.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/Node.java	Fri Jul 24 11:00:47 2015 -0700
+++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/Node.java	Fri Jul 24 11:02:40 2015 -0700
@@ -78,7 +78,7 @@
      *
      * @param section the object representing a section in guest language source code
      */
-    public final void assignSourceSection(SourceSection section) {
+    public void assignSourceSection(SourceSection section) {
         if (sourceSection != null) {
             // Patch this test during the transition to constructor-based
             // source attribution, which would otherwise trigger this
@@ -122,7 +122,7 @@
      *
      * @return the source code represented by this Node
      */
-    public final SourceSection getSourceSection() {
+    public SourceSection getSourceSection() {
         return sourceSection;
     }
 
@@ -134,7 +134,7 @@
      * @return an approximation of the source code represented by this Node
      */
     @ExplodeLoop
-    public final SourceSection getEncapsulatingSourceSection() {
+    public SourceSection getEncapsulatingSourceSection() {
         Node current = this;
         while (current != null) {
             if (current.sourceSection != null) {