This repository was archived by the owner on Jun 17, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
main/java/me/limeglass/streamelements/internals/handlers
test/java/me/limeglass/streamelements Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ public static <T extends ElementsResponse> List<ElementsReader<T>> findPredicted
72
72
*
73
73
* @return Any ElementReaders that return with the offering predicted ElementsResponse.
74
74
* @throws IOException
75
- * @throws Exception
76
75
*/
77
76
public static <T extends ElementsResponse > List <ElementsOptional <T >> readPredicted (JsonReader reader , Class <T > response ) throws IOException {
78
77
List <ElementsOptional <T >> stream = findPredicted (response ).stream ()
@@ -93,7 +92,6 @@ public static <T extends ElementsResponse> List<ElementsOptional<T>> readPredict
93
92
*
94
93
* @return Any ElementReaders that return with the offering class ElementsResponse. As a stream, the mapped return is the ElementsResponse.
95
94
* @throws IOException
96
- * @throws Exception
97
95
*/
98
96
public static <T extends ElementsResponse > Stream <ElementsOptional <T >> streamPredicted (JsonReader reader , Class <T > predicted ) throws IOException {
99
97
return readPredicted (reader , predicted ).stream ();
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public static void execute(StreamElements instance) {
15
15
+ " is #" + points .getRank () + " in the leaderboard"
16
16
+ " with " + points .getCurrentPoints () + " points! PogChamp" );
17
17
18
- //Add one point to the user.
18
+ //Set points of the user.
19
19
instance .setCurrentUserPoints (points .getUser (), 1500 );
20
20
points = instance .getUserPoints ("limeglass" );
21
21
System .out .println (points .getUser ().getName () + " now has " + points .getCurrentPoints () + " points!" );
You can’t perform that action at this time.
0 commit comments