projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove those warning suppressions.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
core
/
Core.java
diff --git
a/src/main/java/net/pterodactylus/sone/core/Core.java
b/src/main/java/net/pterodactylus/sone/core/Core.java
index
e67bf68
..
a59c96c
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/core/Core.java
+++ b/
src/main/java/net/pterodactylus/sone/core/Core.java
@@
-712,7
+712,6
@@
public class Core extends AbstractService implements IdentityListener, UpdateLis
*/
public List<Reply> getReplies(Post post) {
Set<Sone> sones = getSones();
*/
public List<Reply> getReplies(Post post) {
Set<Sone> sones = getSones();
- @SuppressWarnings("hiding")
List<Reply> replies = new ArrayList<Reply>();
for (Sone sone : sones) {
for (Reply reply : sone.getReplies()) {
List<Reply> replies = new ArrayList<Reply>();
for (Sone sone : sones) {
for (Reply reply : sone.getReplies()) {
@@
-805,7
+804,6
@@
public class Core extends AbstractService implements IdentityListener, UpdateLis
* @return All bookmarked posts
*/
public Set<Post> getBookmarkedPosts() {
* @return All bookmarked posts
*/
public Set<Post> getBookmarkedPosts() {
- @SuppressWarnings("hiding")
Set<Post> posts = new HashSet<Post>();
synchronized (bookmarkedPosts) {
for (String bookmarkedPostId : bookmarkedPosts) {
Set<Post> posts = new HashSet<Post>();
synchronized (bookmarkedPosts) {
for (String bookmarkedPostId : bookmarkedPosts) {
@@
-1356,7
+1354,6
@@
public class Core extends AbstractService implements IdentityListener, UpdateLis
}
/* load posts. */
}
/* load posts. */
- @SuppressWarnings("hiding")
Set<Post> posts = new HashSet<Post>();
while (true) {
String postPrefix = sonePrefix + "/Posts/" + posts.size();
Set<Post> posts = new HashSet<Post>();
while (true) {
String postPrefix = sonePrefix + "/Posts/" + posts.size();
@@
-1379,7
+1376,6
@@
public class Core extends AbstractService implements IdentityListener, UpdateLis
}
/* load replies. */
}
/* load replies. */
- @SuppressWarnings("hiding")
Set<Reply> replies = new HashSet<Reply>();
while (true) {
String replyPrefix = sonePrefix + "/Replies/" + replies.size();
Set<Reply> replies = new HashSet<Reply>();
while (true) {
String replyPrefix = sonePrefix + "/Replies/" + replies.size();