mirror of
https://github.com/yacy/yacy_search_server.git
synced 2026-10-25 05:54:15 +00:00
removes some warnings: unused imports, params
This commit is contained in:
1 parent
e039a797d2
commit
df9ea0a42a
19 files changed
+35
-41
No files matched your search
@@ -45,7 +45,7 @@ public class NewsPoolTest {
|
||||
Seed myseed = new Seed(ASCII.String(hash), dna);
|
||||
|
||||
// generate 3 test messages and simulate publish (put in outgoing queuq
|
||||
Map<String, String> msgattr = new HashMap();
|
||||
Map<String, String> msgattr = new HashMap<>();
|
||||
for (int i = 1; i <= 3; i++) {
|
||||
msgattr.put("text", "message " + Integer.toString(i));
|
||||
msgattr.put("#", Integer.toString(i)); // use id modificator attribute (to generate unique id for same creation second, used in id)
|
||||
@@ -53,7 +53,7 @@ public class NewsPoolTest {
|
||||
}
|
||||
|
||||
// test the distribution process
|
||||
Set<String> resultmemory = new LinkedHashSet();
|
||||
Set<String> resultmemory = new LinkedHashSet<>();
|
||||
NewsDB.Record rec = newsPool.myPublication();
|
||||
int cnt = 3 * 30 + 5; // end condition (3 msg * 30 distribution) for loop (+5 > as expected count)
|
||||
while (rec != null && cnt > 0) {
|
||||
|
||||
Reference in new issue
Block a user