You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2014/09/19 09:30:35 UTC

[09/50] git commit: fixed

fixed


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/16c03835
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/16c03835
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/16c03835

Branch: refs/heads/develop
Commit: 16c03835d66dfefa925b8c3167bbdc0ea5f74fae
Parents: df8cacb
Author: Sergio Fernández <wi...@apache.org>
Authored: Mon Jul 7 08:26:07 2014 +0200
Committer: Sergio Fernández <wi...@apache.org>
Committed: Mon Jul 7 08:26:07 2014 +0200

----------------------------------------------------------------------
 .../apache/marmotta/platform/ldp/services/LdpServiceImpl.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/16c03835/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/services/LdpServiceImpl.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/services/LdpServiceImpl.java b/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/services/LdpServiceImpl.java
index 8ba79c7..9a51791 100644
--- a/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/services/LdpServiceImpl.java
+++ b/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/services/LdpServiceImpl.java
@@ -555,10 +555,10 @@ public class LdpServiceImpl implements LdpService {
                 if (LDP.Resource.stringValue().equals(href)) {
                     log.debug("LDPR Interaction Model detected");
                     return InteractionModel.LDPR;
-                } else if (LDP.Container.stringValue().equals(href) || LDP.BasicContainer.stringValue().equals(href) ||) {
+                } else if (LDP.Container.stringValue().equals(href) || LDP.BasicContainer.stringValue().equals(href)) {
                     log.debug("LDPC Interaction Model detected");
                     return InteractionModel.LDPC;
-                } else if (LDP.DirectContainer.stringValue().equals(href) || LDP.IndirectContainer.stringValue().equals(href) ||) {
+                } else if (LDP.DirectContainer.stringValue().equals(href) || LDP.IndirectContainer.stringValue().equals(href)) {
                     log.warn("only Basic Container interaction is supported");
                     log.debug("LDPC Interaction Model detected");
                     return InteractionModel.LDPC;