Skip to content

Commit f02eb2a

Browse files
committed
Bug: warning "The value of the local variable offset|length is not used"
1 parent 76a452e commit f02eb2a

File tree

1 file changed

+0
-3
lines changed
  • sources/net.sf.j2s.ui/src/net/sf/j2s/ui/generator

1 file changed

+0
-3
lines changed

sources/net.sf.j2s.ui/src/net/sf/j2s/ui/generator/J2SView.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,6 @@ protected void performLinkWithEditor() {
378378

379379

380380
private void doLinkWithEditor(ISelection selection) {
381-
ITextSelection textSelection= (ITextSelection) selection;
382-
int offset= textSelection.getOffset();
383-
int length= textSelection.getLength();
384381
}
385382

386383
/*(non-Javadoc)

0 commit comments

Comments
 (0)