[checkstyle] Add ConstantName java checkstyle rule (#1066)
* add SimplifyBooleanExpression java checkstyle rule * collapse empty tags in scalastyle file
This commit is contained in:
@@ -33,13 +33,13 @@ import java.sql.Statement;
|
||||
*/
|
||||
public class HiveUtil {
|
||||
|
||||
private static final String driverName = "org.apache.hive.jdbc.HiveDriver";
|
||||
private static final String DRIVER_NAME = "org.apache.hive.jdbc.HiveDriver";
|
||||
|
||||
static {
|
||||
try {
|
||||
Class.forName(driverName);
|
||||
Class.forName(DRIVER_NAME);
|
||||
} catch (ClassNotFoundException e) {
|
||||
throw new IllegalStateException("Could not find " + driverName + " in classpath. ", e);
|
||||
throw new IllegalStateException("Could not find " + DRIVER_NAME + " in classpath. ", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user