changeset 22035:100d2d3250d5

remove final from key SourceSection methods
author Mick Jordan <mick.jordan@oracle.com>
date Fri, 17 Jul 2015 15:02:05 -0700
parents f878f9778548
children f26b6524e5e0
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	Wed Jul 08 11:49:59 2015 +0200
+++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/Node.java	Fri Jul 17 15:02:05 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) {