faas-tutorial icon indicating copy to clipboard operation
faas-tutorial copied to clipboard

lost the import code in the Splitter, UpperCase, Sorter instructions

Open JimTyrrell opened this issue 7 years ago • 2 comments

The build fails without adding in the import for JsonArray, ArrayList and List.

You need to add: To the FunctionApp you need to add a line for import com.google.gson.JsonArray;

For the FunctionAppTest import com.google.gson.JsonArray; import java.util.ArrayList; import java.util.List;

JimTyrrell avatar Apr 06 '18 17:04 JimTyrrell

They were present before, but it was hard to have understand what needs to change in the class, and also made the document very large. Maybe we should just drop a note to import the proper packages.

rafabene avatar Apr 06 '18 17:04 rafabene

Or better, just have the source file you download have all the imports available in them.

The one to add to this list: sorter needs java.util.Comparator;

JimTyrrell avatar Apr 06 '18 17:04 JimTyrrell