Error in this code?

Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

import java.util.*;
import java.util.ArrayList;
public class AryLstSS {
public static void main(String args[]) {
ArrayList AL=new ArrayList<>();
Scanner ss=new Scanner(System.in);
String str=ss.nextLine();
AL=getss(str);
System.out.println(AL);
System.out.println(AL.size());

}

public static ArrayList<String> getss(String str){
	
	    if(str.length()==0){
		
	       ArrayList<String> babe=new ArrayList<>();
	       babe.add(" ");
			
		   return babe;
	
	}
	
	char c=str.charAt(0);
	
	String subS=str.substring(1);
	
	ArrayList<String> resut=new ArrayList();
	
	ArrayList<String> recRsut=getss(subS);

	
	for(int i=0;i<recRsut.size();i++) {
		
		resut.add(recRsut.get(i));
	
		resut.add(c + recRsut.get(i));
				
	}

	return resut;
	
}


}

mention the type in arraylist everywhere like

ArrayList < String > AL = new ArrayList < > ();