java - uses unchecked or unsafe operations Exception thrown when I use ImmutableMap -


always got blabla.java uses unchecked or unsafe operations exception when mvn compile immutablemap:

this code while using immutablemap

    private static immutablemap<string, object> hikariconfigmap = new immutablemap.builder()             .put("datasourceclassname", configurer.getstring("mysql.driver"))             .put("datasource.url", configurer.getstring("mysql.url"))             .put("datasource.user", configurer.getstring("mysql.user"))             .put("datasource.password", configurer.getstring("mysql.password"))             .build();     private static connectionprovider connectionprovider = new hikaricpconnectionprovider(hikariconfigmap); 

any guy tell me why?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -