Browse Source

Merge pull request #12 from greboid/master

Add a function based validator.
pull/13/head
Chris Smith 9 years ago
parent
commit
0ff6197174
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/com/dmdirc/util/validators/Validator.java

+ 1
- 0
src/com/dmdirc/util/validators/Validator.java View File

@@ -27,6 +27,7 @@ package com.dmdirc.util.validators;
27 27
  *
28 28
  * @param <V> Type to validate
29 29
  */
30
+@FunctionalInterface
30 31
 public interface Validator<V> {
31 32
 
32 33
     /**

Loading…
Cancel
Save