Minor updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@86356 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9a23bd6a79
commit
fa9bff6bf9
|
@ -1,6 +1,6 @@
|
|||
package org.gcube.portlets.user.td.openwidget.client;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource;
|
||||
|
@ -45,7 +45,7 @@ public class GwtTestTDOpen extends GWTTestCase {
|
|||
delayTestFinish(7000);
|
||||
|
||||
// Send a request to the server.
|
||||
tdGXTService.getTabularResources(new AsyncCallback<List<TabResource>>() {
|
||||
tdGXTService.getTabularResources(new AsyncCallback<ArrayList<TabResource>>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
|
@ -55,7 +55,7 @@ public class GwtTestTDOpen extends GWTTestCase {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(List<TabResource> result) {
|
||||
public void onSuccess(ArrayList<TabResource> result) {
|
||||
// Shows the first three resources.
|
||||
int i=0;
|
||||
for(TabResource tr:result){
|
||||
|
|
Loading…
Reference in New Issue