mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Format some imports using fix_imports.py
Unfortunately this tool isn't smart enough to deal with the assertThat situation (which has two static imports of a function with the same name). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172000753
This commit is contained in:
parent
326cf698e0
commit
05f6ad80ab
20 changed files with 35 additions and 49 deletions
|
@ -18,33 +18,35 @@ import com.google.auto.value.AutoValue;
|
|||
import com.google.common.collect.ImmutableList;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* AutoValue class describing an RDAP Notice object.
|
||||
*
|
||||
* <p>This is used for injecting RDAP help pages.
|
||||
*/
|
||||
@AutoValue
|
||||
public abstract class RdapNoticeDescriptor {
|
||||
public static Builder builder() {
|
||||
return new AutoValue_RdapNoticeDescriptor.Builder();
|
||||
}
|
||||
/**
|
||||
* AutoValue class describing an RDAP Notice object.
|
||||
*
|
||||
* <p>This is used for injecting RDAP help pages.
|
||||
*/
|
||||
@AutoValue
|
||||
public abstract class RdapNoticeDescriptor {
|
||||
|
||||
@Nullable public abstract String getTitle();
|
||||
public abstract ImmutableList<String> getDescription();
|
||||
@Nullable public abstract String getTypeString();
|
||||
@Nullable public abstract String getLinkValueSuffix();
|
||||
@Nullable public abstract String getLinkHrefUrlString();
|
||||
|
||||
/** Builder class for {@link RdapNoticeDescriptor}. */
|
||||
@AutoValue.Builder
|
||||
public abstract static class Builder {
|
||||
public abstract Builder setTitle(@Nullable String title);
|
||||
public abstract Builder setDescription(Iterable<String> description);
|
||||
public abstract Builder setTypeString(@Nullable String typeString);
|
||||
public abstract Builder setLinkValueSuffix(@Nullable String linkValueSuffix);
|
||||
public abstract Builder setLinkHrefUrlString(@Nullable String linkHrefUrlString);
|
||||
|
||||
public abstract RdapNoticeDescriptor build();
|
||||
}
|
||||
public static Builder builder() {
|
||||
return new AutoValue_RdapNoticeDescriptor.Builder();
|
||||
}
|
||||
|
||||
@Nullable public abstract String getTitle();
|
||||
public abstract ImmutableList<String> getDescription();
|
||||
@Nullable public abstract String getTypeString();
|
||||
@Nullable public abstract String getLinkValueSuffix();
|
||||
@Nullable public abstract String getLinkHrefUrlString();
|
||||
|
||||
/** Builder class for {@link RdapNoticeDescriptor}. */
|
||||
@AutoValue.Builder
|
||||
public abstract static class Builder {
|
||||
|
||||
public abstract Builder setTitle(@Nullable String title);
|
||||
public abstract Builder setDescription(Iterable<String> description);
|
||||
public abstract Builder setTypeString(@Nullable String typeString);
|
||||
public abstract Builder setLinkValueSuffix(@Nullable String linkValueSuffix);
|
||||
public abstract Builder setLinkHrefUrlString(@Nullable String linkHrefUrlString);
|
||||
|
||||
public abstract RdapNoticeDescriptor build();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue