Skip to content

Commit

Permalink
[java] Fixing variable name (Cyrillic letter с looks exactly like Lat…
Browse files Browse the repository at this point in the history
…in letter c)
  • Loading branch information
barancev committed Dec 2, 2020
1 parent ac56ef5 commit bd2fc34
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ static <X> X callCreateMethod(String clazz, Class<X> typeOfClass, Config configT
try {
// Use the context class loader since this is what the `--ext`
// flag modifies.
Class<?> сlassClazz = Class.forName(clazz, true, Thread.currentThread().getContextClassLoader());
Method create = сlassClazz.getMethod("create", org.openqa.selenium.grid.config.Config.class);
Class<?> classClazz = Class.forName(clazz, true, Thread.currentThread().getContextClassLoader());
Method create = classClazz.getMethod("create", org.openqa.selenium.grid.config.Config.class);

if (!Modifier.isStatic(create.getModifiers())) {
throw new IllegalArgumentException(String.format(
Expand Down

0 comments on commit bd2fc34

Please sign in to comment.