Make regions Cloneable

This commit is contained in:
aumgn
2012-03-20 15:14:41 +01:00
committed by zml2008
parent 56a8574129
commit 842c469285
6 changed files with 29 additions and 1 deletions

View File

@ -66,4 +66,12 @@ public abstract class AbstractRegion implements Region {
expand(change);
contract(change);
}
public AbstractRegion clone() {
try {
return (AbstractRegion) super.clone();
} catch (CloneNotSupportedException exc) {
return null;
}
}
}