git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated coding rules.
[utils]
/
support
/
general
/
src
/
main
/
java
/
org
/
wamblee
/
conditions
/
AndCondition.java
diff --git
a/support/general/src/main/java/org/wamblee/conditions/AndCondition.java
b/support/general/src/main/java/org/wamblee/conditions/AndCondition.java
index 50898739d53da345c2b8143e8f98fbf8a2aa28b2..52b53950bb22bdb02e185ed0268c08109622dec7 100644
(file)
--- a/
support/general/src/main/java/org/wamblee/conditions/AndCondition.java
+++ b/
support/general/src/main/java/org/wamblee/conditions/AndCondition.java
@@
-26,7
+26,7
@@
import java.util.List;
*/
public class AndCondition<T> implements Condition<T> {
*/
public class AndCondition<T> implements Condition<T> {
- private List<Condition<T>>
_
conditions;
+ private List<Condition<T>> conditions;
/**
* Constructs the condition.
/**
* Constructs the condition.
@@
-37,9
+37,9
@@
public class AndCondition<T> implements Condition<T> {
* Second condition.
*/
public AndCondition(Condition<T> aCondition1, Condition<T> aCondition2) {
* Second condition.
*/
public AndCondition(Condition<T> aCondition1, Condition<T> aCondition2) {
-
_
conditions = new ArrayList<Condition<T>>();
-
_
conditions.add(aCondition1);
-
_
conditions.add(aCondition2);
+ conditions = new ArrayList<Condition<T>>();
+ conditions.add(aCondition1);
+ conditions.add(aCondition2);
}
/**
}
/**
@@
-49,7
+49,7
@@
public class AndCondition<T> implements Condition<T> {
* List of conditions to use in the logical and.
*/
public AndCondition(List<Condition<T>> aConditions) {
* List of conditions to use in the logical and.
*/
public AndCondition(List<Condition<T>> aConditions) {
-
_
conditions = aConditions;
+ conditions = aConditions;
}
/*
}
/*
@@
-58,7
+58,7
@@
public class AndCondition<T> implements Condition<T> {
* @see org.wamblee.crawler.kiss.ProgramMatcher#matches(org.wamblee.crawler.kiss.Program)
*/
public boolean matches(T aObject) {
* @see org.wamblee.crawler.kiss.ProgramMatcher#matches(org.wamblee.crawler.kiss.Program)
*/
public boolean matches(T aObject) {
- for (Condition<T> condition :
_
conditions) {
+ for (Condition<T> condition : conditions) {
if (!condition.matches(aObject)) {
return false;
}
if (!condition.matches(aObject)) {
return false;
}