How to write the following for nested loop in java8 lambda?

ArrayList<String> messages = new ArrayList<String>();
String dot;
for(int i=0;i<10;iPP){
    dot = "";
    for(int j=0;j<=i;jPP) {
        dot = dot + ".";
    }
    messages.add("message" + dot);
} 
Nov.28,2021

    public static void main(String[] args) {
        final String message = "message";
        List<String> messages = IntStream.range(1, 11).mapToObj(i -> {
            char[] chars = new char[i];
            Arrays.fill(chars, '.');
            return message + String.valueOf(chars);
        }).collect(Collectors.toList());
        System.out.println(message);
    }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40af8-4dbcf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40af8-4dbcf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?