Skip to content
This repository was archived by the owner on Jul 26, 2019. It is now read-only.

Commit 763b8b1

Browse files
committed
Make Builder static
1 parent 3f0546d commit 763b8b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ artifacts{
4646
}
4747

4848
bintray{
49-
user = property('user')
50-
key = property('key')
49+
user = System.getenv('BintrayUser')
50+
key = System.getenv('BintrayKey')
5151
publications = ['JavaBotBlockAPIRelease']
5252
pkg{
5353
repo = 'maven'

src/main/java/com/andre601/javabotblockapi/BotBlockAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ int getUpdateInterval(){
111111
/**
112112
* Builder class to create an instance of {@link com.andre601.javabotblockapi.BotBlockAPI BotBlockAPI}
113113
*/
114-
public class Builder{
114+
public static class Builder{
115115
private Map<String, String> authTokens = new HashMap<>();
116116

117117
private int updateInterval = 30;

0 commit comments

Comments
 (0)