Skip to content

Commit

Permalink
Take advantage of Java8's @FunctionalInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoayyed committed Jul 12, 2017
1 parent 23694ee commit 69d4c5d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
Expand Up @@ -24,6 +24,7 @@
* @author Radovan Semancik
*
*/
@FunctionalInterface
public interface PrismContextFactory {

/**
Expand Down
Expand Up @@ -27,6 +27,7 @@
*
* @author Radovan Semancik
*/
@FunctionalInterface
public interface ResultHandler<T extends ObjectType> {

/**
Expand Down
Expand Up @@ -23,6 +23,7 @@
*
* @author Radovan Semancik
*/
@FunctionalInterface
public interface AsynchronousOperationQueryable {

OperationResultStatus queryOperationStatus(String asyncronousOperationReference, OperationResult parentResult) throws ObjectNotFoundException, SchemaException;
Expand Down
Expand Up @@ -19,6 +19,7 @@
* @author semancik
*
*/
@FunctionalInterface
public interface Cloner<T> {

public T clone(T original);
Expand Down
Expand Up @@ -19,6 +19,7 @@
* @author Radovan Semancik
*
*/
@FunctionalInterface
public interface DebugDumpable {

String INDENT_STRING = " ";
Expand Down

0 comments on commit 69d4c5d

Please sign in to comment.