repo base: move method for consistency

This commit is contained in:
Hylke Bons 2011-05-26 02:05:30 +01:00
parent 2e075959c4
commit 898c685cb6

View file

@ -51,18 +51,6 @@ namespace SparkleLib {
private bool has_changed = false;
private Object change_lock = new Object ();
public string Domain {
get {
Regex regex = new Regex (@"(@|://)([a-z0-9\.]+)(/|:)");
Match match = regex.Match (Url);
if (match.Success)
return match.Groups [2].Value;
else
return null;
}
}
public abstract string Url { get; }
public abstract bool AnyDifferences { get; }
public abstract string Identifier { get; }
@ -162,6 +150,20 @@ namespace SparkleLib {
}
}
public string Domain {
get {
Regex regex = new Regex (@"(@|://)([a-z0-9\.]+)(/|:)");
Match match = regex.Match (Url);
if (match.Success)
return match.Groups [2].Value;
else
return null;
}
}
protected void OnConflictResolved ()
{
HasUnsyncedChanges = true;