|
From: David C. <dc...@us...> - 2005-10-09 22:14:15
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21686/src/org/rubypeople/rdt/internal/core/parser Modified Files: RdtPosition.java Log Message: Upgraded to JRuby head. More work on Updating the Symbol Index for class names. Index: RdtPosition.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/parser/RdtPosition.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RdtPosition.java 6 Aug 2005 02:46:18 -0000 1.3 --- RdtPosition.java 9 Oct 2005 22:14:06 -0000 1.4 *************** *** 68,79 **** public int getStartLine() { - // TODO Auto-generated method stub return startLine; } public int getEndLine() { - // TODO Auto-generated method stub return endLine; } ! } --- 68,88 ---- public int getStartLine() { return startLine; } public int getEndLine() { return endLine; } ! ! public boolean equals(Object obj) { ! if (! (obj instanceof RdtPosition)) ! return false; ! ! RdtPosition that = (RdtPosition) obj; ! return ! that.startLine == this.startLine ! && that.endLine == this.endLine ! && that.startOffset == this.startOffset ! && that.endOffset== this.endOffset; ! } } |