mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +02:00
Add @Deprecated to DomainApplication.cloneProjectedAtTime()
DomainApplications have nothing to project, so it's a mistake to call their cloneProjectedAtTime() method. Marking it @Deprecated helps prevent such inadvertent use. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146716189
This commit is contained in:
parent
bf068e61d9
commit
7986be139d
2 changed files with 4 additions and 4 deletions
|
@ -169,6 +169,8 @@ public class DomainApplication extends DomainBase {
|
|||
return getRepoId();
|
||||
}
|
||||
|
||||
/** This is a no-op and should never be called on an application explicitly. */
|
||||
@Deprecated
|
||||
@Override
|
||||
public DomainApplication cloneProjectedAtTime(DateTime now) {
|
||||
// Applications have no grace periods and can't be transferred, so there is nothing to project.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue