Updated Branches:
  refs/heads/master 0825b6828 -> 7a5f16534

changed back the fix for the migration script


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

Branch: refs/heads/master
Commit: 7a5f165345e93be713be36a9af8dd5dc4d1b9798
Parents: 0825b68
Author: Sebastian Schaffert <[email protected]>
Authored: Mon Apr 8 18:03:49 2013 +0200
Committer: Sebastian Schaffert <[email protected]>
Committed: Mon Apr 8 18:03:49 2013 +0200

----------------------------------------------------------------------
 .../marmotta/kiwi/persistence/KiWiDialect.java     |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/7a5f1653/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiDialect.java
----------------------------------------------------------------------
diff --git 
a/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiDialect.java
 
b/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiDialect.java
index e3650bb..9cd130e 100644
--- 
a/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiDialect.java
+++ 
b/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiDialect.java
@@ -119,11 +119,7 @@ public abstract class KiWiDialect {
                 log.warn("upgrade script {} -> {} not found or not readable!", 
i-1, i);
             }
         }
-        if(builder.length() > 0) {
-            return builder.toString();
-        } else {
-            return null;
-        }
+        return builder.toString();
     }
 
 

Reply via email to