Merge remote-tracking branch 'upstream/master' into earth001_BAEL-1121
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.baeldung.functional;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
public class MyService {
|
||||
|
||||
public int getRandomNumber(){
|
||||
return (new Random().nextInt(10));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user