Mark project as modified when metadata is changed
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2491 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
db300c1dca
commit
c47b1e0ab7
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user