mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smar...@apache.org
Subject mahout git commit: MAHOUT-1772: delimiterPattern instance variable of FileDataModel should be marked as a Transient field, this closes apache/mahout#160
Date Thu, 05 Nov 2015 03:50:58 GMT
Repository: mahout
Updated Branches:
  refs/heads/master e0b8b90e9 -> c113a8c93


MAHOUT-1772: delimiterPattern instance variable of FileDataModel should be marked as a Transient
field, this closes apache/mahout#160


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

Branch: refs/heads/master
Commit: c113a8c9314a7f21ffb282d043565006a9d5c9c7
Parents: e0b8b90
Author: smarthi <smarthi@apache.org>
Authored: Wed Nov 4 22:50:50 2015 -0500
Committer: smarthi <smarthi@apache.org>
Committed: Wed Nov 4 22:50:50 2015 -0500

----------------------------------------------------------------------
 .../org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/c113a8c9/mr/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
----------------------------------------------------------------------
diff --git a/mr/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
b/mr/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
index aa8e8d2..0399618 100644
--- a/mr/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
+++ b/mr/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
@@ -127,7 +127,7 @@ public class FileDataModel extends AbstractDataModel {
   private final File dataFile;
   private long lastModified;
   private long lastUpdateFileModified;
-  private final Splitter delimiterPattern;
+  private final transient Splitter delimiterPattern;
   private final boolean hasPrefValues;
   private DataModel delegate;
   private final ReentrantLock reloadLock;


Mime
View raw message