File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
java/src/org/openqa/selenium/grid/config Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 31
31
import java .util .List ;
32
32
import java .util .Optional ;
33
33
import java .util .Set ;
34
+ import java .util .logging .Logger ;
34
35
import org .openqa .selenium .internal .Require ;
35
36
36
37
public class TomlConfig implements Config {
37
38
38
39
private final Toml toml ;
40
+ private static final Logger LOG = Logger .getLogger (TomlConfig .class .getName ());
39
41
40
42
public TomlConfig (Reader reader ) {
41
43
try {
42
44
toml = JToml .parse (reader );
45
+ LOG .warning (
46
+ "Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted"
47
+ + " strings will throw an error in the future" );
43
48
} catch (IOException e ) {
44
49
throw new ConfigException ("Unable to read TOML." , e );
45
50
} catch (ParseException e ) {
You can’t perform that action at this time.
0 commit comments