super();
             this.listNameList = listNameList;
             if (this.listNameList == null)
-                this.listNameList = new HashSet<String>();
+                this.listNameList = new HashSet<>();
         }
 
         String currentName = "";
                 name = name.substring(i2 + 1);
 
             if (currentName.length() > 0)
-                currentName += '.';
+                currentName += Character.toString('.');
             currentName += name;
 
             String listName = removeIndexes(currentName);
                 else if (c == ']')
                     add = true;
                 else if (add)
-                    s += c;
+                    s += Character.toString(c);
             }
             return s;
         }