Which of the code pieces below should replace the underline?public class Test{public static void main(String[] args){Test test = new Test();test.setAction(_______);}public void setAction(T1 t){t.m();}}interface T1{public void m() is explained below
Explanation:
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24839/src/org/python/pydev/editor/correctionassist
Modified Files:
PythonCorrectionProcessor.java
Log Message:
Index: PythonCorrectionProcessor.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/PythonCorrectionProcessor.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** PythonCorrectionProcessor.java 23 Feb 2005 14:29:36 -0000 1.12
--- PythonCorrectionProcessor.java 25 Feb 2005 12:34:28 -0000 1.13
***************
*** 419,423 ****
//all that just to change first char to lower case.
callName = lowerChar(callName, 0);
! if (callName.startsWith("get")){
callName = callName.substring(3);
callName = lowerChar(callName, 0);
--- 419,423 ----
//all that just to change first char to lower case.
callName = lowerChar(callName, 0);
! if (callName.startsWith("get") && callName.length() > 3){
callName = callName.substring(3);
callName = lowerChar(callName, 0);