use diamond operator
example:
List<byte[]> rawDescriptors = new ArrayList<>();
instead of
List<byte[]> rawDescriptors = new ArrayList<byte[]>();
example:
List<byte[]> rawDescriptors = new ArrayList<>();
instead of
List<byte[]> rawDescriptors = new ArrayList<byte[]>();