File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/main/java/com/ibm/watson/common Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 11import org.apache.tools.ant.filters.*
22
3+ apply plugin : ' checkstyle'
34apply plugin : ' java'
45
6+ checkstyle {
7+ configFile = rootProject. file(' checkstyle.xml' )
8+ ignoreFailures = false
9+ }
10+
511repositories {
612 mavenCentral()
713}
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ public class SdkCommon {
1414 private static final Logger LOG = Logger .getLogger (SdkCommon .class .getName ());
1515 private static String userAgent ;
1616
17+ private SdkCommon () { }
18+
1719 private static String loadSdkVersion () {
1820 ClassLoader classLoader = SdkCommon .class .getClassLoader ();
1921 InputStream inputStream = classLoader .getResourceAsStream ("java-sdk-version.properties" );
You can’t perform that action at this time.
0 commit comments