From c47b1e0ab7cc682c84fe65dc2dc03c2e56475cd1 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Sat, 14 Apr 2012 14:10:11 +0000 Subject: [PATCH] Mark project as modified when metadata is changed git-svn-id: http://google-refine.googlecode.com/svn/trunk@2491 7d457c2a-affb-35e4-300a-418c747d4874 --- main/src/com/google/refine/ProjectMetadata.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main/src/com/google/refine/ProjectMetadata.java b/main/src/com/google/refine/ProjectMetadata.java index 2afcc2eaa..d36ca4228 100644 --- a/main/src/com/google/refine/ProjectMetadata.java +++ b/main/src/com/google/refine/ProjectMetadata.java @@ -171,6 +171,7 @@ public class ProjectMetadata implements Jsonizable { public void setName(String name) { this._name = name; + updateModified(); } public String getName() { @@ -179,6 +180,7 @@ public class ProjectMetadata implements Jsonizable { public void setEncoding(String encoding) { this._encoding = encoding; + updateModified(); } public String getEncoding() { @@ -187,6 +189,7 @@ public class ProjectMetadata implements Jsonizable { public void setEncodingConfidence(int confidence) { this._encodingConfidence = confidence; + updateModified(); } public void setEncodingConfidence(String confidence) { @@ -201,6 +204,7 @@ public class ProjectMetadata implements Jsonizable { public void setPassword(String password) { this._password = password; + updateModified(); } public String getPassword() { @@ -229,5 +233,6 @@ public class ProjectMetadata implements Jsonizable { } else { _customMetadata.put(key, value); } + updateModified(); } }