|
From: Christopher W. <caw...@us...> - 2006-02-22 21:05:41
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2598/src/org/rubypeople/rdt/core Modified Files: RubyCore.java Log Message: remove instance where we created a RubyProject with wrong constructor. Fix RubyProject to not override getParent() and return null. Index: RubyCore.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** RubyCore.java 10 Feb 2006 18:35:09 -0000 1.29 --- RubyCore.java 22 Feb 2006 21:05:32 -0000 1.30 *************** *** 339,352 **** } - public static RubyProject getRubyProject(String name) { - IProject aProject = RubyCore.getWorkspace().getRoot().getProject(name); - if (isRubyProject(aProject)) { - RubyProject theRubyProject = new RubyProject(); - theRubyProject.setProject(aProject); - return theRubyProject; - } - return null; - } - public static boolean isRubyProject(IProject aProject) { try { --- 339,342 ---- |