mirror of https://github.com/apache/jclouds.git
Make interfaces with only statics into classes
This prevents instantiation. Found via error-prone 2.3.3.
This commit is contained in:
parent
53c47aa0bd
commit
8eae27c98d
|
@ -23,7 +23,11 @@ import org.jclouds.rackspace.clouddns.v1.domain.Job;
|
|||
/**
|
||||
* Exceptions likely to be encountered when using {@link CloudDNSApi}
|
||||
*/
|
||||
public interface CloudDNSExceptions {
|
||||
public final class CloudDNSExceptions {
|
||||
private CloudDNSExceptions() {
|
||||
throw new AssertionError("intentionally not implemented");
|
||||
}
|
||||
|
||||
/**
|
||||
* A Job errored out.
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,11 @@ package org.jclouds.dynect.v3;
|
|||
/**
|
||||
* Exceptions likely to be encountered when using {@link DynECTApi}
|
||||
*/
|
||||
public interface DynECTExceptions {
|
||||
public final class DynECTExceptions {
|
||||
private DynECTExceptions() {
|
||||
throw new AssertionError("intentionally not implemented");
|
||||
}
|
||||
|
||||
/**
|
||||
* You must wait until another job is finished before attempting this command
|
||||
* again
|
||||
|
|
|
@ -19,7 +19,10 @@ package org.jclouds.ultradns.ws;
|
|||
/**
|
||||
* Exceptions likely to be encountered when using {@link UltraDNSWSApi}
|
||||
*/
|
||||
public interface UltraDNSWSExceptions {
|
||||
public final class UltraDNSWSExceptions {
|
||||
private UltraDNSWSExceptions() {
|
||||
throw new AssertionError("intentionally not implemented");
|
||||
}
|
||||
|
||||
/**
|
||||
* The Zone or other resource already exists
|
||||
|
|
Loading…
Reference in New Issue