Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 8dc8840

Browse files
committed
Forgot to add seed into photoId method
1 parent 2085f46 commit 8dc8840

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/searchcode/app/service/route/CommonRouteService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public static String getSyntaxHighlighter() {
152152
}
153153

154154
public static int getPhotoId(int seed) {
155-
Random random = new Random();
155+
Random random = new Random(seed);
156156
return random.nextInt(42) + 1;
157157
}
158158
}

0 commit comments

Comments
 (0)