Skip to content

Commit

Permalink
Merge pull request #56 from UCSDOalads/addTESTbylhwlyd1
Browse files Browse the repository at this point in the history
fixed the topoint location error
  • Loading branch information
UltimatePea authored Mar 30, 2017
2 parents cf75a20 + 37e9ea2 commit ff8bff1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private void init() {
// parameters take place from line 2 to length+1
Class[] paramTypes = displayingMethod.getParameterTypes();
for (int i = 0; i < paramTypes.length ; i++) {
addToPoint(i + 2, new JavaType(paramTypes[i]));
addToPoint(i + 1, new JavaType(paramTypes[i]));
}

// method's return value take line length+1 since we no longer have a from point for instance
Expand Down
1 change: 0 additions & 1 deletion src/ui/general/InputManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public void askForInt(PaintPanel panel, InputManagerDelegate<Integer> delegate)
}
}

// TODO askForClass
public void askForClass(PaintPanel panel, InputManagerDelegate<Class> delegate) {
ClassSearchFrame classSearchFrame = new ClassSearchFrame();
classSearchFrame.setDelegate(new ClassSearchFrameDelegateInterface() {
Expand Down

0 comments on commit ff8bff1

Please sign in to comment.