clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/3] git commit: CLEREZZA-883: seeting file field to value
Date Sat, 01 Mar 2014 19:20:11 GMT
Repository: clerezza
Updated Branches:
  refs/heads/master be79aeddb -> aa0cc3489


CLEREZZA-883: seeting file field to value

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

Branch: refs/heads/master
Commit: c1e37c3547da849b6b14d945fdca3ca20b0ac652
Parents: be79aed
Author: retobg <reto@apache.org>
Authored: Sat Mar 1 15:45:26 2014 +0100
Committer: retobg <reto@apache.org>
Committed: Sat Mar 1 15:45:26 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/clerezza/rdf/file/storage/FileMGraph.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/c1e37c35/rdf.file.storage/src/main/java/org/apache/clerezza/rdf/file/storage/FileMGraph.java
----------------------------------------------------------------------
diff --git a/rdf.file.storage/src/main/java/org/apache/clerezza/rdf/file/storage/FileMGraph.java
b/rdf.file.storage/src/main/java/org/apache/clerezza/rdf/file/storage/FileMGraph.java
index 9fdde45..46083a2 100644
--- a/rdf.file.storage/src/main/java/org/apache/clerezza/rdf/file/storage/FileMGraph.java
+++ b/rdf.file.storage/src/main/java/org/apache/clerezza/rdf/file/storage/FileMGraph.java
@@ -57,6 +57,7 @@ public class FileMGraph extends SimpleMGraph {
     }
 
     public FileMGraph(File file, Parser parser, Serializer serializer) {
+        this.file = file;
         String fileEnding = extractFileEnding(file.getPath());
         fileType = getMediaTypeForFileEnding(fileEnding);
         this.serializer = serializer;
@@ -70,7 +71,8 @@ public class FileMGraph extends SimpleMGraph {
             }
         } catch (IOException e) {
             throw new RuntimeException(e);
-        }    }
+        }
+    }
     
     @Override
     public boolean add(Triple e) {


Mime
View raw message