Developing lightweight computation at the DSG edge

Commit 0a4a2ae1 authored by deepthidevaki's avatar deepthidevaki
Browse files

fix type

parent e7698074
import java.util.List;
public class BookCommands {
public String addUser(String username, String userEmail){
not_implemented();
return null;
}
......@@ -11,7 +13,7 @@ public class BookCommands {
return null;
}
public String[] getOwnedBooks(String username){
public List<String> getOwnedBooks(String username){
not_implemented();
return null;
}
......@@ -27,6 +29,6 @@ public class BookCommands {
}
void not_implemented(){
System.out.println("Not implemented");
throw new RuntimeException("Not Implemented");
}
}
......@@ -63,7 +63,7 @@ public class BookStore {
}
@Command
public String[] getownedbook(String username){
public List<String> getownedbook(String username){
return (new BookCommands().getOwnedBooks(username));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment