|
From: Christopher W. <caw...@us...> - 2006-02-22 21:05:40
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2598/src/org/rubypeople/rdt/internal/core Modified Files: RubyProject.java Log Message: remove instance where we created a RubyProject with wrong constructor. Fix RubyProject to not override getParent() and return null. Index: RubyProject.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyProject.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** RubyProject.java 10 Feb 2006 18:29:16 -0000 1.18 --- RubyProject.java 22 Feb 2006 21:05:33 -0000 1.19 *************** *** 74,78 **** /** ! * Configure the project with Java nature. */ public void configure() throws CoreException { --- 74,78 ---- /** ! * Configure the project with Ruby nature. */ public void configure() throws CoreException { *************** *** 425,429 **** /* ! * (non-Rubydoc) * * @see org.rubypeople.rdt.core.IRubyElement#getElementName() --- 425,429 ---- /* ! * (non-Javadoc) * * @see org.rubypeople.rdt.core.IRubyElement#getElementName() *************** *** 434,438 **** /* ! * (non-Rubydoc) * * @see org.rubypeople.rdt.internal.core.parser.RubyElement#getElementType() --- 434,438 ---- /* ! * (non-Javadoc) * * @see org.rubypeople.rdt.internal.core.parser.RubyElement#getElementType() *************** *** 443,447 **** /* ! * (non-Rubydoc) * * @see org.rubypeople.rdt.core.IRubyElement#hasChildren() --- 443,447 ---- /* ! * (non-Javadoc) * * @see org.rubypeople.rdt.core.IRubyElement#hasChildren() *************** *** 452,465 **** /* ! * (non-Rubydoc) ! * ! * @see org.rubypeople.rdt.core.IRubyElement#getParent() ! */ ! public IRubyElement getParent() { ! return null; ! } ! ! /* ! * (non-Rubydoc) * * @see org.rubypeople.rdt.core.IRubyProject#findType(java.lang.String) --- 452,456 ---- /* ! * (non-Javadoc) * * @see org.rubypeople.rdt.core.IRubyProject#findType(java.lang.String) |