File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
src/main/java/io/github/benas/unixstream Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 10
10
*
11
11
* @author Mahmoud Ben Hassine ([email protected] )
12
12
*/
13
- public class Functions {
13
+ public final class Functions {
14
+
15
+ private Functions () throws InstantiationException {
16
+ throw new InstantiationException ("This class is not created for instantiation" );
17
+ }
14
18
15
19
/**
16
20
* Compact a string by removing all white spaces.
Original file line number Diff line number Diff line change 9
9
*
10
10
* @author Mahmoud Ben Hassine ([email protected] )
11
11
*/
12
- public class Predicates {
12
+ public final class Predicates {
13
+
14
+ private Predicates () throws InstantiationException {
15
+ throw new InstantiationException ("This class is not created for instantiation" );
16
+ }
13
17
14
18
/**
15
19
* Create a new predicate returning true when the input is not null.
You can’t perform that action at this time.
0 commit comments