mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 12:32:32 +00:00
findbugs all over
This commit is contained in:
1 parent
8270a92a44
commit
28ad95f892
5 files changed
+9
-6
No files matched your search
@@ -16,7 +16,7 @@ import net.i2p.I2PAppContext;
|
||||
* @since 0.9.14
|
||||
*/
|
||||
public class DomainSocketFactory {
|
||||
public static String I2CP_SOCKET_ADDRESS = "net.i2p.client.i2cp";
|
||||
public static final String I2CP_SOCKET_ADDRESS = "net.i2p.client.i2cp";
|
||||
|
||||
/**
|
||||
* @throws UnsupportedOperationException always
|
||||
|
||||
@@ -846,7 +846,11 @@ public class Ed25519FieldElement extends FieldElement {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return t.hashCode(); // TODO should this be something else?
|
||||
int rv = 0;
|
||||
for (int i = 0; i < 10; i++) {
|
||||
rv ^= t[i];
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user