warning cleanup
This commit is contained in:
@@ -18,7 +18,6 @@
|
|||||||
package nodash.core;
|
package nodash.core;
|
||||||
|
|
||||||
import java.security.PublicKey;
|
import java.security.PublicKey;
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import nodash.exceptions.NoAdapterException;
|
import nodash.exceptions.NoAdapterException;
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ import java.nio.file.Files;
|
|||||||
import java.security.PublicKey;
|
import java.security.PublicKey;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@@ -204,7 +203,8 @@ public class NoDefaultAdapter implements NoAdapter {
|
|||||||
if (byteSets.containsKey(address)) {
|
if (byteSets.containsKey(address)) {
|
||||||
List<NoByteSet> storedByteSets = byteSets.get(address);
|
List<NoByteSet> storedByteSets = byteSets.get(address);
|
||||||
List<NoByteSet> result = new ArrayList<NoByteSet>();
|
List<NoByteSet> result = new ArrayList<NoByteSet>();
|
||||||
for (int x = 0; x < storedByteSets.size(); x++) {
|
int iterations = storedByteSets.size();
|
||||||
|
for (int x = 0; x < iterations; x++) {
|
||||||
result.add(storedByteSets.get(0));
|
result.add(storedByteSets.get(0));
|
||||||
storedByteSets.remove(0);
|
storedByteSets.remove(0);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ public class NoUser implements Serializable {
|
|||||||
private String randomized;
|
private String randomized;
|
||||||
|
|
||||||
private int influences;
|
private int influences;
|
||||||
|
@SuppressWarnings("unused")
|
||||||
private int actions;
|
private int actions;
|
||||||
|
|
||||||
private List<NoAction> outgoing = new ArrayList<NoAction>();
|
private List<NoAction> outgoing = new ArrayList<NoAction>();
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ import nodash.exceptions.NoSessionNotChangedException;
|
|||||||
import nodash.exceptions.NoUserAlreadyOnlineException;
|
import nodash.exceptions.NoUserAlreadyOnlineException;
|
||||||
import nodash.exceptions.NoUserNotValidException;
|
import nodash.exceptions.NoUserNotValidException;
|
||||||
import nodash.models.NoRegister;
|
import nodash.models.NoRegister;
|
||||||
import nodash.models.NoUser;
|
|
||||||
import nodash.test.functional.implementations.TestJustTouchStaticField;
|
import nodash.test.functional.implementations.TestJustTouchStaticField;
|
||||||
import nodash.test.functional.implementations.TestNoUser;
|
import nodash.test.functional.implementations.TestNoUser;
|
||||||
import nodash.test.functional.implementations.TestRequestFunds;
|
import nodash.test.functional.implementations.TestRequestFunds;
|
||||||
|
|||||||
Reference in New Issue
Block a user