Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

Commit 0b96fcf

Browse files
committed
Fix some messages
1 parent 4f9083a commit 0b96fcf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/main/java/me/limeglass/streamelements/internals/handlers/ElementsReaderHandler.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ public static <T extends ElementsResponse> List<ElementsReader<T>> findPredicted
7272
*
7373
* @return Any ElementReaders that return with the offering predicted ElementsResponse.
7474
* @throws IOException
75-
* @throws Exception
7675
*/
7776
public static <T extends ElementsResponse> List<ElementsOptional<T>> readPredicted(JsonReader reader, Class<T> response) throws IOException {
7877
List<ElementsOptional<T>> stream = findPredicted(response).stream()
@@ -93,7 +92,6 @@ public static <T extends ElementsResponse> List<ElementsOptional<T>> readPredict
9392
*
9493
* @return Any ElementReaders that return with the offering class ElementsResponse. As a stream, the mapped return is the ElementsResponse.
9594
* @throws IOException
96-
* @throws Exception
9795
*/
9896
public static <T extends ElementsResponse> Stream<ElementsOptional<T>> streamPredicted(JsonReader reader, Class<T> predicted) throws IOException {
9997
return readPredicted(reader, predicted).stream();

src/test/java/me/limeglass/streamelements/PointsExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static void execute(StreamElements instance) {
1515
+ " is #" + points.getRank() + " in the leaderboard"
1616
+ " with " + points.getCurrentPoints() + " points! PogChamp");
1717

18-
//Add one point to the user.
18+
//Set points of the user.
1919
instance.setCurrentUserPoints(points.getUser(), 1500);
2020
points = instance.getUserPoints("limeglass");
2121
System.out.println(points.getUser().getName() + " now has " + points.getCurrentPoints() + " points!");

0 commit comments

Comments
 (0)