git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[maven-release-plugin] copy for tag wamblee-utils-0.2.2
[utils]
/
system
/
general
/
src
/
main
/
java
/
org
/
wamblee
/
system
/
core
/
DefaultRequiredInterface.java
diff --git
a/system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java
b/system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java
index d7e76df51c2ef92c7cc4c568a8c933d70958752e..b538a22a95188adfeb358b9b1b34219f283ab853 100644
(file)
--- a/
system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java
+++ b/
system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java
@@
-133,18
+133,18
@@
public class DefaultRequiredInterface implements RequiredInterface {
}
@Override
}
@Override
- public boolean equals(Object
obj
) {
- return this ==
obj
;
+ public boolean equals(Object
aObject
) {
+ return this ==
aObject
;
}
@Override
}
@Override
- public boolean covers(RequiredInterface
obj
) {
+ public boolean covers(RequiredInterface
aObject
) {
// TODO do more than equals.
// TODO do more than equals.
- if (!(
obj
instanceof DefaultRequiredInterface)) {
+ if (!(
aObject
instanceof DefaultRequiredInterface)) {
return false;
}
return false;
}
- DefaultRequiredInterface descr = (DefaultRequiredInterface)
obj
;
+ DefaultRequiredInterface descr = (DefaultRequiredInterface)
aObject
;
if (required.length != descr.required.length) {
return false;
if (required.length != descr.required.length) {
return false;
@@
-166,7
+166,7
@@
public class DefaultRequiredInterface implements RequiredInterface {
@Override
public int hashCode() {
@Override
public int hashCode() {
- return
required.hashCode(
);
+ return
Arrays.hashCode(required
);
}
@Override
}
@Override