Skip to content
Snippets Groups Projects
Commit 53985efd authored by Lars Brodin Østby's avatar Lars Brodin Østby
Browse files

Update ImageService.java

parent 8e1b08db
No related branches found
No related tags found
2 merge requests!104Weekly merge to Master,!75Single photo upload
......@@ -68,8 +68,6 @@ public class ImageService {
metadata.setHistogram(histogram);
histogram.setMetadata(metadata);
System.out.println(metadata.getGeoLocation().getLatitude());
System.out.println(metadata.getHistogram().getData());
byte[] bFile = ImageUtil.convertToBytes(file.getPath());
......@@ -126,7 +124,7 @@ public class ImageService {
*/
//This search method is for futureproofing, when we will search using additional parameters than just tags
public List<Image> searchImageAlbums(String query) {
public List<Image> searchImages(String query) {
List<Image> allImages = imageRepository.findAll();
return allImages.stream()
.filter(ImageFilter.filter(query))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment