X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fgraph%2Fcomponent%2FConnectRequiredProvidedEdgeFilter.java;h=4984b7d805942a07c2a65fae5a5a2258a38dc199;hb=dec278a67997ea8e85d10662e31548afd8890ed3;hp=a2f918774d3029501c831ff1b8c00df9a39c2ad1;hpb=faef41a7706fe470b864efde1713c2d72998c7ad;p=utils diff --git a/system/general/src/main/java/org/wamblee/system/graph/component/ConnectRequiredProvidedEdgeFilter.java b/system/general/src/main/java/org/wamblee/system/graph/component/ConnectRequiredProvidedEdgeFilter.java index a2f91877..4984b7d8 100644 --- a/system/general/src/main/java/org/wamblee/system/graph/component/ConnectRequiredProvidedEdgeFilter.java +++ b/system/general/src/main/java/org/wamblee/system/graph/component/ConnectRequiredProvidedEdgeFilter.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.system.graph.component; import org.wamblee.system.graph.Edge; @@ -76,13 +76,11 @@ public class ConnectRequiredProvidedEdgeFilter implements EdgeFilter { .getName()))) { // to part matches also return false; - } else { - // From matches and to doesn't so edgefilter is violated. - return true; } - } else { - // From part does not match, restriction does not apply. - return false; + // From matches and to doesn't so edgefilter is violated. + return true; } + // From part does not match, restriction does not apply. + return false; } }