Skip to content

Commit fe54c51

Browse files
committed
Bug: warning "The value of the local variable filter is not used" in J2SAddInnerJarAction.java
1 parent 6867aac commit fe54c51

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sources/net.sf.j2s.ui/src/net/sf/j2s/ui/property/J2SAddInnerJarAction.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public J2SAddInnerJarAction(J2SConfigPage page) {
7373
}
7474

7575
public void widgetSelected(SelectionEvent e) {
76-
ViewerFilter filter= new ArchiveFilter(new ArrayList());
7776
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
7877
String rootPath = root.getLocation().toOSString();
7978
String rootTruePath = new File(rootPath).getAbsolutePath();
@@ -178,7 +177,6 @@ protected TreeViewer createTreeViewer(Composite parent) {
178177
dialog.setValidator(validator);
179178
dialog.setTitle("Libraries Selection"); //$NON-NLS-1$
180179
dialog.setMessage("Choose libraries (*.j2x)"); //$NON-NLS-1$
181-
// dialog.addFilter(filter);
182180
List rr = page.classpathModel.resources;
183181
List al = new ArrayList(rr.size());
184182
for (Iterator iter = rr.iterator(); iter.hasNext();) {

0 commit comments

Comments
 (0)