Repository: marmotta
Updated Branches:
  refs/heads/ldp df8cacb87 -> 16c03835d


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/ldp
Commit: 16c03835d66dfefa925b8c3167bbdc0ea5f74fae
Parents: df8cacb
Author: Sergio Fernández <[email protected]>
Authored: Mon Jul 7 08:26:07 2014 +0200
Committer: Sergio Fernández <[email protected]>
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;

Reply via email to