use diamond operator
example:
List<byte[]> rawDescriptors = new ArrayList<>();
instead of
List<byte[]> rawDescriptors = new ArrayList<byte[]>();
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information