"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/org/codehaus/groovy/ast/ASTNode.java" between
apache-groovy-src-3.0.4.zip and apache-groovy-src-3.0.5.zip

About: Groovy is an agile dynamic (scripting) language for the Java Platform. It has features similar to those of Python, Ruby, Perl, and Smalltalk. Source release.

ASTNode.java  (apache-groovy-src-3.0.4):ASTNode.java  (apache-groovy-src-3.0.5)
skipping to change at line 21 skipping to change at line 21
* *
* Unless required by applicable law or agreed to in writing, * Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an * software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the * KIND, either express or implied. See the License for the
* specific language governing permissions and limitations * specific language governing permissions and limitations
* under the License. * under the License.
*/ */
package org.codehaus.groovy.ast; package org.codehaus.groovy.ast;
import java.util.Arrays;
import java.util.Map; import java.util.Map;
/** /**
* Base class for any AST node. This class supports basic information used in al l nodes of the AST: * Base class for any AST node. This class supports basic information used in al l nodes of the AST:
* <ul> * <ul>
* <li> line and column number information. Usually a node represents a certain * <li> line and column number information. Usually a node represents a certain
* area in a text file determined by a starting position and an ending position. * area in a text file determined by a starting position and an ending position.
* For nodes that do not represent this, this information will be -1. A node can * For nodes that do not represent this, this information will be -1. A node can
* also be configured in its line/col information using another node through * also be configured in its line/col information using another node through
* setSourcePosition(otherNode).</li> * setSourcePosition(otherNode).</li>
skipping to change at line 124 skipping to change at line 123
@Override @Override
public Map<?, ?> getMetaDataMap() { public Map<?, ?> getMetaDataMap() {
return metaDataMap; return metaDataMap;
} }
@Override @Override
public void setMetaDataMap(Map<?, ?> metaDataMap) { public void setMetaDataMap(Map<?, ?> metaDataMap) {
this.metaDataMap = metaDataMap; this.metaDataMap = metaDataMap;
} }
@Override
public int hashCode() {
return Arrays.hashCode(new int[] {lineNumber, columnNumber, lastLineNumb
er, lastColumnNumber});
}
} }
 End of changes. 2 change blocks. 
7 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)